Enum aldrin_parser::ast::ConstValue
source · pub enum ConstValue {
U8(LitInt),
I8(LitInt),
U16(LitInt),
I16(LitInt),
U32(LitInt),
I32(LitInt),
U64(LitInt),
I64(LitInt),
String(LitString),
Uuid(LitUuid),
}Variants§
U8(LitInt)
I8(LitInt)
U16(LitInt)
I16(LitInt)
U32(LitInt)
I32(LitInt)
U64(LitInt)
I64(LitInt)
String(LitString)
Uuid(LitUuid)
Trait Implementations§
source§impl Clone for ConstValue
impl Clone for ConstValue
source§fn clone(&self) -> ConstValue
fn clone(&self) -> ConstValue
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 moreAuto Trait Implementations§
impl RefUnwindSafe for ConstValue
impl Send for ConstValue
impl Sync for ConstValue
impl Unpin for ConstValue
impl UnwindSafe for ConstValue
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