pub enum PrimitiveLiteral {
Int8(i8),
Int16(i16),
Int32(i32),
Int64(i64),
Int128(i128),
Uint8(u8),
Uint16(u16),
Uint32(u32),
Uint64(u64),
Uint128(u128),
Usize(usize),
Bool(bool),
}Variants§
Int8(i8)
Int16(i16)
Int32(i32)
Int64(i64)
Int128(i128)
Uint8(u8)
Uint16(u16)
Uint32(u32)
Uint64(u64)
Uint128(u128)
Usize(usize)
Bool(bool)
Trait Implementations§
Source§impl Clone for PrimitiveLiteral
impl Clone for PrimitiveLiteral
Source§fn clone(&self) -> PrimitiveLiteral
fn clone(&self) -> PrimitiveLiteral
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 PrimitiveLiteral
impl Debug for PrimitiveLiteral
Source§impl PartialEq for PrimitiveLiteral
impl PartialEq for PrimitiveLiteral
Source§impl StaticallyTyped for PrimitiveLiteral
impl StaticallyTyped for PrimitiveLiteral
fn static_value_type(&self) -> ValueType
Source§impl Typed for PrimitiveLiteral
impl Typed for PrimitiveLiteral
fn value_type(&self) -> Option<Poisonable<ValueType>>
impl Eq for PrimitiveLiteral
impl StructuralPartialEq for PrimitiveLiteral
Auto Trait Implementations§
impl Freeze for PrimitiveLiteral
impl RefUnwindSafe for PrimitiveLiteral
impl Send for PrimitiveLiteral
impl Sync for PrimitiveLiteral
impl Unpin for PrimitiveLiteral
impl UnwindSafe for PrimitiveLiteral
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