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>
.)
An attribute for a heading tag.
Variants
Class(Class)
Id(Id)
Style(Style)
Trait Implementations
sourceimpl Clone for HeadingAttr
impl Clone for HeadingAttr
sourcefn clone(&self) -> HeadingAttr
fn clone(&self) -> HeadingAttr
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 HeadingAttr
impl Debug for HeadingAttr
sourceimpl From<Class> for HeadingAttr
impl From<Class> for HeadingAttr
sourcefn from(t: Class) -> HeadingAttr
fn from(t: Class) -> HeadingAttr
Converts to this type from the input type.
sourceimpl From<Id> for HeadingAttr
impl From<Id> for HeadingAttr
sourcefn from(t: Id) -> HeadingAttr
fn from(t: Id) -> HeadingAttr
Converts to this type from the input type.
sourceimpl From<Style> for HeadingAttr
impl From<Style> for HeadingAttr
sourcefn from(t: Style) -> HeadingAttr
fn from(t: Style) -> HeadingAttr
Converts to this type from the input type.
sourceimpl IntoAttribute for HeadingAttr
impl IntoAttribute for HeadingAttr
Auto Trait Implementations
impl RefUnwindSafe for HeadingAttr
impl Send for HeadingAttr
impl Sync for HeadingAttr
impl Unpin for HeadingAttr
impl UnwindSafe for HeadingAttr
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