Enum GoPredeclaredIdentifier
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§
§impl Clone for GoPredeclaredIdentifier
impl Clone for GoPredeclaredIdentifier
§fn clone(&self) -> GoPredeclaredIdentifier
fn clone(&self) -> GoPredeclaredIdentifier
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 GoPredeclaredIdentifier
impl Debug for GoPredeclaredIdentifier
§impl Display for GoPredeclaredIdentifier
impl Display for GoPredeclaredIdentifier
§impl FromStr for GoPredeclaredIdentifier
impl FromStr for GoPredeclaredIdentifier
§type Err = GoKeywordParseError
type Err = GoKeywordParseError
The associated error which can be returned from parsing.
§fn from_str(
input: &str,
) -> Result<GoPredeclaredIdentifier, <GoPredeclaredIdentifier as FromStr>::Err>
fn from_str( input: &str, ) -> Result<GoPredeclaredIdentifier, <GoPredeclaredIdentifier as FromStr>::Err>
Parses a string
s to return a value of this type. Read more§impl Hash for GoPredeclaredIdentifier
impl Hash for GoPredeclaredIdentifier
§impl Ord for GoPredeclaredIdentifier
impl Ord for GoPredeclaredIdentifier
§fn cmp(&self, other: &GoPredeclaredIdentifier) -> Ordering
fn cmp(&self, other: &GoPredeclaredIdentifier) -> Ordering
1.21.0 · 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
§impl PartialEq for GoPredeclaredIdentifier
impl PartialEq for GoPredeclaredIdentifier
§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