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
Alt(Alt)
The alt
attribute.
Src(Src)
The src
attribute.
Trait Implementations
sourceimpl IntoAttribute for ImgAttr
impl IntoAttribute for ImgAttr
Auto Trait Implementations
impl RefUnwindSafe for ImgAttr
impl Send for ImgAttr
impl Sync for ImgAttr
impl Unpin for ImgAttr
impl UnwindSafe for ImgAttr
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