pub enum ConstantValue {
Integer {
value: u64,
text: Option<String>,
},
Float {
value: f64,
text: Option<String>,
},
Boolean(bool),
String(String),
Char(String),
Evaluated(Value),
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for ConstantValue
impl Clone for ConstantValue
Source§impl Debug for ConstantValue
impl Debug for ConstantValue
Source§impl PartialEq for ConstantValue
impl PartialEq for ConstantValue
impl StructuralPartialEq for ConstantValue
Auto Trait Implementations§
impl Forget for ConstantValue
impl Freeze for ConstantValue
impl Move for ConstantValue
impl RefUnwindSafe for ConstantValue
impl Send for ConstantValuewhere
RawVecInner: Send,
impl Sync for ConstantValuewhere
RawVecInner: Sync,
impl Unpin for ConstantValue
impl UnsafeUnpin for ConstantValue
impl UnwindSafe for ConstantValuewhere
RawVecInner: UnwindSafe,
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