pub struct GoBoolLiteral(/* private fields */);Expand description
Go bool literal metadata.
Implementations§
Trait Implementations§
Source§impl Clone for GoBoolLiteral
impl Clone for GoBoolLiteral
Source§fn clone(&self) -> GoBoolLiteral
fn clone(&self) -> GoBoolLiteral
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GoBoolLiteral
impl Debug for GoBoolLiteral
Source§impl Display for GoBoolLiteral
impl Display for GoBoolLiteral
Source§impl Hash for GoBoolLiteral
impl Hash for GoBoolLiteral
Source§impl Ord for GoBoolLiteral
impl Ord for GoBoolLiteral
Source§fn cmp(&self, other: &GoBoolLiteral) -> Ordering
fn cmp(&self, other: &GoBoolLiteral) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for GoBoolLiteral
impl PartialEq for GoBoolLiteral
Source§fn eq(&self, other: &GoBoolLiteral) -> bool
fn eq(&self, other: &GoBoolLiteral) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§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