pub enum AttributeValue<'life> {
Str(&'life str),
Bool(bool),
}
Variants§
Trait Implementations§
Source§impl<'life> Clone for AttributeValue<'life>
impl<'life> Clone for AttributeValue<'life>
Source§fn clone(&self) -> AttributeValue<'life>
fn clone(&self) -> AttributeValue<'life>
Returns a copy 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<'life> Debug for AttributeValue<'life>
impl<'life> Debug for AttributeValue<'life>
Source§impl<'life> From<&'life str> for AttributeValue<'life>
impl<'life> From<&'life str> for AttributeValue<'life>
Source§impl<'life> From<bool> for AttributeValue<'life>
impl<'life> From<bool> for AttributeValue<'life>
Source§impl<'life> Hash for AttributeValue<'life>
impl<'life> Hash for AttributeValue<'life>
Source§impl<'life> Ord for AttributeValue<'life>
impl<'life> Ord for AttributeValue<'life>
Source§fn cmp(&self, other: &AttributeValue<'life>) -> Ordering
fn cmp(&self, other: &AttributeValue<'life>) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<'life> PartialEq for AttributeValue<'life>
impl<'life> PartialEq for AttributeValue<'life>
Source§impl<'life> PartialOrd for AttributeValue<'life>
impl<'life> PartialOrd for AttributeValue<'life>
impl<'life> Copy for AttributeValue<'life>
impl<'life> Eq for AttributeValue<'life>
impl<'life> StructuralPartialEq for AttributeValue<'life>
Auto Trait Implementations§
impl<'life> Freeze for AttributeValue<'life>
impl<'life> RefUnwindSafe for AttributeValue<'life>
impl<'life> Send for AttributeValue<'life>
impl<'life> Sync for AttributeValue<'life>
impl<'life> Unpin for AttributeValue<'life>
impl<'life> UnwindSafe for AttributeValue<'life>
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