pub struct ConstantObject(pub Vec<(String, ConstantValue)>);Tuple Fields§
§0: Vec<(String, ConstantValue)>Trait Implementations§
Source§impl Clone for ConstantObject
impl Clone for ConstantObject
Source§fn clone(&self) -> ConstantObject
fn clone(&self) -> ConstantObject
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 ConstantObject
impl Debug for ConstantObject
Source§impl Default for ConstantObject
impl Default for ConstantObject
Source§fn default() -> ConstantObject
fn default() -> ConstantObject
Returns the “default value” for a type. Read more
Source§impl From<ConstantObject> for ConstantValue
impl From<ConstantObject> for ConstantValue
Source§fn from(original: ConstantObject) -> ConstantValue
fn from(original: ConstantObject) -> ConstantValue
Converts to this type from the input type.
Source§impl PartialEq for ConstantObject
impl PartialEq for ConstantObject
impl Eq for ConstantObject
impl StructuralPartialEq for ConstantObject
Auto Trait Implementations§
impl Freeze for ConstantObject
impl RefUnwindSafe for ConstantObject
impl Send for ConstantObject
impl Sync for ConstantObject
impl Unpin for ConstantObject
impl UnwindSafe for ConstantObject
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