Enum semantic_analyzer::ast::PrimitiveTypes
source · pub enum PrimitiveTypes {
Show 15 variants
U8,
U16,
U32,
U64,
I8,
I16,
I32,
I64,
F32,
F64,
Bool,
Char,
String,
Ptr,
None,
}
Variants§
Trait Implementations§
source§impl Clone for PrimitiveTypes
impl Clone for PrimitiveTypes
source§fn clone(&self) -> PrimitiveTypes
fn clone(&self) -> PrimitiveTypes
Returns a copy 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<PrimitiveTypes> for PrimitiveTypes
impl PartialEq<PrimitiveTypes> for PrimitiveTypes
source§fn eq(&self, other: &PrimitiveTypes) -> bool
fn eq(&self, other: &PrimitiveTypes) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for PrimitiveTypes
impl StructuralEq for PrimitiveTypes
impl StructuralPartialEq for PrimitiveTypes
Auto Trait Implementations§
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