Struct GoBoolLiteral
pub struct GoBoolLiteral(/* private fields */);Expand description
Go bool literal metadata.
Implementations§
§impl GoBoolLiteral
impl GoBoolLiteral
pub const fn new(value: bool) -> GoBoolLiteral
pub const fn new(value: bool) -> GoBoolLiteral
Creates bool literal metadata.
Trait Implementations§
§impl Clone for GoBoolLiteral
impl Clone for GoBoolLiteral
§fn clone(&self) -> GoBoolLiteral
fn clone(&self) -> GoBoolLiteral
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for GoBoolLiteral
impl Debug for GoBoolLiteral
§impl Display for GoBoolLiteral
impl Display for GoBoolLiteral
§impl Hash for GoBoolLiteral
impl Hash for GoBoolLiteral
§impl Ord for GoBoolLiteral
impl Ord for GoBoolLiteral
§impl PartialEq for GoBoolLiteral
impl PartialEq for GoBoolLiteral
§impl PartialOrd for GoBoolLiteral
impl PartialOrd for GoBoolLiteral
impl Copy for GoBoolLiteral
impl Eq for GoBoolLiteral
impl StructuralPartialEq for GoBoolLiteral
Auto Trait Implementations§
impl Freeze for GoBoolLiteral
impl RefUnwindSafe for GoBoolLiteral
impl Send for GoBoolLiteral
impl Sync for GoBoolLiteral
impl Unpin for GoBoolLiteral
impl UnsafeUnpin for GoBoolLiteral
impl UnwindSafe for GoBoolLiteral
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more