pub enum AstMetaValue {
Named(AstIdentifier, Box<AstMetaValue>),
Field(AstMetaField),
String(AstString),
Number(AstNumber),
}
Variants§
Trait Implementations§
Source§impl Clone for AstMetaValue
impl Clone for AstMetaValue
Source§fn clone(&self) -> AstMetaValue
fn clone(&self) -> AstMetaValue
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 AstMetaValue
impl Debug for AstMetaValue
Source§impl<'de> Deserialize<'de> for AstMetaValue
impl<'de> Deserialize<'de> for AstMetaValue
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for AstMetaValue
impl RefUnwindSafe for AstMetaValue
impl Send for AstMetaValue
impl Sync for AstMetaValue
impl Unpin for AstMetaValue
impl UnwindSafe for AstMetaValue
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