Enum semantic_analyzer::types::PrimitiveValue
source · pub enum PrimitiveValue {
}Variants§
U8(u8)
U16(u16)
U32(u32)
U64(u64)
I8(i8)
I16(i16)
I32(i32)
I64(i64)
F32(f32)
F64(f64)
Bool(bool)
String(String)
Char(char)
Ptr
None
Trait Implementations§
source§impl Clone for PrimitiveValue
impl Clone for PrimitiveValue
source§fn clone(&self) -> PrimitiveValue
fn clone(&self) -> PrimitiveValue
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 PrimitiveValue
impl Debug for PrimitiveValue
source§impl From<PrimitiveValue> for PrimitiveValue
impl From<PrimitiveValue> for PrimitiveValue
source§fn from(value: PrimitiveValue) -> Self
fn from(value: PrimitiveValue) -> Self
Converts to this type from the input type.
source§impl PartialEq<PrimitiveValue> for PrimitiveValue
impl PartialEq<PrimitiveValue> for PrimitiveValue
source§fn eq(&self, other: &PrimitiveValue) -> bool
fn eq(&self, other: &PrimitiveValue) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl ToString for PrimitiveValue
impl ToString for PrimitiveValue
impl StructuralPartialEq for PrimitiveValue
Auto Trait Implementations§
impl RefUnwindSafe for PrimitiveValue
impl Send for PrimitiveValue
impl Sync for PrimitiveValue
impl Unpin for PrimitiveValue
impl UnwindSafe for PrimitiveValue
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