pub enum SetAttribute {
Set(SetAttr),
Unknown(Id),
}
Variants§
Trait Implementations§
Source§impl Clone for SetAttribute
impl Clone for SetAttribute
Source§fn clone(&self) -> SetAttribute
fn clone(&self) -> SetAttribute
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 SetAttribute
impl Debug for SetAttribute
Source§impl Display for SetAttribute
impl Display for SetAttribute
Source§impl From<Id> for SetAttribute
impl From<Id> for SetAttribute
Source§impl From<SetAttr> for SetAttribute
impl From<SetAttr> for SetAttribute
Source§impl FromStr for SetAttribute
impl FromStr for SetAttribute
Source§impl Hash for SetAttribute
impl Hash for SetAttribute
Source§impl Ord for SetAttribute
impl Ord for SetAttribute
Source§impl PartialEq for SetAttribute
impl PartialEq for SetAttribute
Source§impl PartialOrd for SetAttribute
impl PartialOrd for SetAttribute
impl Copy for SetAttribute
impl Eq for SetAttribute
impl StructuralPartialEq for SetAttribute
Auto Trait Implementations§
impl Freeze for SetAttribute
impl RefUnwindSafe for SetAttribute
impl Send for SetAttribute
impl Sync for SetAttribute
impl Unpin for SetAttribute
impl UnwindSafe for SetAttribute
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
§impl<T> CallHasher for T
impl<T> CallHasher for T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more