pub enum PrimitiveTypes {
Show 14 variants
U8,
U16,
U32,
U64,
I8,
I16,
I32,
I64,
F32,
F64,
Bool,
Char,
Ptr,
None,
}
Expand description
PrimitiveTypes
primitive types elements of AST.
It’s represent basic (primitive) types.
Variants§
Trait Implementations§
Source§impl Clone for PrimitiveTypes
impl Clone for PrimitiveTypes
Source§fn clone(&self) -> PrimitiveTypes
fn clone(&self) -> PrimitiveTypes
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 PrimitiveTypes
impl Debug for PrimitiveTypes
Source§impl From<PrimitiveTypes> for PrimitiveTypes
impl From<PrimitiveTypes> for PrimitiveTypes
Source§fn from(value: PrimitiveTypes) -> Self
fn from(value: PrimitiveTypes) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PrimitiveTypes
impl PartialEq for PrimitiveTypes
impl Eq for PrimitiveTypes
impl StructuralPartialEq for PrimitiveTypes
Auto Trait Implementations§
impl Freeze for PrimitiveTypes
impl RefUnwindSafe for PrimitiveTypes
impl Send for PrimitiveTypes
impl Sync for PrimitiveTypes
impl Unpin for PrimitiveTypes
impl UnwindSafe for PrimitiveTypes
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