Expand description
An enumeration used for utility purposes. You shouldn’t ever need to construct this
directly. Instead you should use one of its member types. These all implement Into
for this type. You can then pass them to a method which accepts and type T
such
that T
satisfies Into
the type of this utility enum (this is an automatically
generated doc comment which is why it doesn’t say Into<type of this enum>
.)
Variants
Name(Name)
Class(Class)
Id(Id)
Trait Implementations
sourceimpl Clone for SelectAttr
impl Clone for SelectAttr
sourcefn clone(&self) -> SelectAttr
fn clone(&self) -> SelectAttr
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for SelectAttr
impl Debug for SelectAttr
sourceimpl From<Class> for SelectAttr
impl From<Class> for SelectAttr
sourcefn from(t: Class) -> SelectAttr
fn from(t: Class) -> SelectAttr
Converts to this type from the input type.
sourceimpl From<Id> for SelectAttr
impl From<Id> for SelectAttr
sourcefn from(t: Id) -> SelectAttr
fn from(t: Id) -> SelectAttr
Converts to this type from the input type.
sourceimpl From<Name> for SelectAttr
impl From<Name> for SelectAttr
sourcefn from(t: Name) -> SelectAttr
fn from(t: Name) -> SelectAttr
Converts to this type from the input type.
sourceimpl IntoAttribute for SelectAttr
impl IntoAttribute for SelectAttr
Auto Trait Implementations
impl RefUnwindSafe for SelectAttr
impl Send for SelectAttr
impl Sync for SelectAttr
impl Unpin for SelectAttr
impl UnwindSafe for SelectAttr
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more