pub enum AttributeValueOwned {
Str(Tendril<UTF8>),
Bool(bool),
}
Variants§
Trait Implementations§
Source§impl Clone for AttributeValueOwned
impl Clone for AttributeValueOwned
Source§fn clone(&self) -> AttributeValueOwned
fn clone(&self) -> AttributeValueOwned
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 Debug for AttributeValueOwned
impl Debug for AttributeValueOwned
Source§impl From<bool> for AttributeValueOwned
impl From<bool> for AttributeValueOwned
Source§impl Hash for AttributeValueOwned
impl Hash for AttributeValueOwned
Source§impl Ord for AttributeValueOwned
impl Ord for AttributeValueOwned
Source§fn cmp(&self, other: &AttributeValueOwned) -> Ordering
fn cmp(&self, other: &AttributeValueOwned) -> 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 PartialEq for AttributeValueOwned
impl PartialEq for AttributeValueOwned
Source§impl PartialOrd for AttributeValueOwned
impl PartialOrd for AttributeValueOwned
impl Eq for AttributeValueOwned
impl StructuralPartialEq for AttributeValueOwned
Auto Trait Implementations§
impl !Freeze for AttributeValueOwned
impl !RefUnwindSafe for AttributeValueOwned
impl !Send for AttributeValueOwned
impl !Sync for AttributeValueOwned
impl Unpin for AttributeValueOwned
impl UnwindSafe for AttributeValueOwned
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