pub enum Constant {
Value(Vec<char>),
Integer(i32),
String(String),
}Expand description
Constant enum
Variants§
Value(Vec<char>)
Value variant, contains a vector of characters, ie. vec![‘x’, ‘z’, ‘1’, ‘m’]
Integer(i32)
Integer variant, contains an i32
String(String)
String variant, contains a String
Trait Implementations§
impl StructuralPartialEq for Constant
Auto Trait Implementations§
impl Freeze for Constant
impl RefUnwindSafe for Constant
impl Send for Constant
impl Sync for Constant
impl Unpin for Constant
impl UnwindSafe for Constant
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