pub enum AttributeVal {
N(usize),
S(String),
}
Expand description
The value of an attribute/parameter
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for AttributeVal
impl Clone for AttributeVal
Source§fn clone(&self) -> AttributeVal
fn clone(&self) -> AttributeVal
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 AttributeVal
impl Debug for AttributeVal
Source§impl<'de> Deserialize<'de> for AttributeVal
impl<'de> Deserialize<'de> for AttributeVal
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
Source§impl Hash for AttributeVal
impl Hash for AttributeVal
Source§impl PartialEq for AttributeVal
impl PartialEq for AttributeVal
Source§impl Serialize for AttributeVal
impl Serialize for AttributeVal
Source§impl Value for AttributeVal
impl Value for AttributeVal
impl Eq for AttributeVal
impl StructuralPartialEq for AttributeVal
Auto Trait Implementations§
impl Freeze for AttributeVal
impl RefUnwindSafe for AttributeVal
impl Send for AttributeVal
impl Sync for AttributeVal
impl Unpin for AttributeVal
impl UnwindSafe for AttributeVal
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