pub enum BuiltinParamType {
U64,
U8,
Bool,
SelfType,
}Expand description
Type of a parameter to a built-in function.
Variants§
U64
64-bit unsigned integer
U8
8-bit unsigned integer
Bool
Boolean
SelfType
The built-in type itself (e.g., String for String methods)
Trait Implementations§
Source§impl Clone for BuiltinParamType
impl Clone for BuiltinParamType
Source§fn clone(&self) -> BuiltinParamType
fn clone(&self) -> BuiltinParamType
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 moreSource§impl Debug for BuiltinParamType
impl Debug for BuiltinParamType
Source§impl PartialEq for BuiltinParamType
impl PartialEq for BuiltinParamType
impl Copy for BuiltinParamType
impl Eq for BuiltinParamType
impl StructuralPartialEq for BuiltinParamType
Auto Trait Implementations§
impl Freeze for BuiltinParamType
impl RefUnwindSafe for BuiltinParamType
impl Send for BuiltinParamType
impl Sync for BuiltinParamType
impl Unpin for BuiltinParamType
impl UnwindSafe for BuiltinParamType
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