pub enum GoPredeclaredIdentifier {
Show 44 variants
Any,
Bool,
Byte,
Comparable,
Complex64,
Complex128,
Error,
Float32,
Float64,
Int,
Int8,
Int16,
Int32,
Int64,
Rune,
String,
Uint,
Uint8,
Uint16,
Uint32,
Uint64,
Uintptr,
True,
False,
Iota,
Nil,
Append,
Cap,
Clear,
Close,
Complex,
Copy,
Delete,
Imag,
Len,
Make,
Max,
Min,
New,
Panic,
Print,
Println,
Real,
Recover,
}Expand description
Common Go predeclared identifiers.
Variants§
Any
Bool
Byte
Comparable
Complex64
Complex128
Error
Float32
Float64
Int
Int8
Int16
Int32
Int64
Rune
String
Uint
Uint8
Uint16
Uint32
Uint64
Uintptr
True
False
Iota
Nil
Append
Cap
Clear
Close
Complex
Copy
Delete
Imag
Len
Make
Max
Min
New
Panic
Println
Real
Recover
Implementations§
Trait Implementations§
Source§impl Clone for GoPredeclaredIdentifier
impl Clone for GoPredeclaredIdentifier
Source§fn clone(&self) -> GoPredeclaredIdentifier
fn clone(&self) -> GoPredeclaredIdentifier
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 GoPredeclaredIdentifier
impl Debug for GoPredeclaredIdentifier
Source§impl Display for GoPredeclaredIdentifier
impl Display for GoPredeclaredIdentifier
Source§impl FromStr for GoPredeclaredIdentifier
impl FromStr for GoPredeclaredIdentifier
Source§impl Hash for GoPredeclaredIdentifier
impl Hash for GoPredeclaredIdentifier
Source§impl Ord for GoPredeclaredIdentifier
impl Ord for GoPredeclaredIdentifier
Source§fn cmp(&self, other: &GoPredeclaredIdentifier) -> Ordering
fn cmp(&self, other: &GoPredeclaredIdentifier) -> 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 GoPredeclaredIdentifier
impl PartialEq for GoPredeclaredIdentifier
Source§fn eq(&self, other: &GoPredeclaredIdentifier) -> bool
fn eq(&self, other: &GoPredeclaredIdentifier) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for GoPredeclaredIdentifier
impl PartialOrd for GoPredeclaredIdentifier
impl Copy for GoPredeclaredIdentifier
impl Eq for GoPredeclaredIdentifier
impl StructuralPartialEq for GoPredeclaredIdentifier
Auto Trait Implementations§
impl Freeze for GoPredeclaredIdentifier
impl RefUnwindSafe for GoPredeclaredIdentifier
impl Send for GoPredeclaredIdentifier
impl Sync for GoPredeclaredIdentifier
impl Unpin for GoPredeclaredIdentifier
impl UnsafeUnpin for GoPredeclaredIdentifier
impl UnwindSafe for GoPredeclaredIdentifier
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