pub enum GlobalValue {
Symbol(String),
Number(f64),
Text(String),
Data(Vec<GlobalValue>),
Identifier(String),
Struct(StructDefinition),
}
Variants§
Symbol(String)
Number(f64)
Text(String)
Data(Vec<GlobalValue>)
Identifier(String)
Struct(StructDefinition)
Trait Implementations§
Source§impl Clone for GlobalValue
impl Clone for GlobalValue
Source§fn clone(&self) -> GlobalValue
fn clone(&self) -> GlobalValue
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 moreAuto Trait Implementations§
impl Freeze for GlobalValue
impl RefUnwindSafe for GlobalValue
impl Send for GlobalValue
impl Sync for GlobalValue
impl Unpin for GlobalValue
impl UnwindSafe for GlobalValue
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