pub struct h1 {
pub attributes: <h1 as TypedElement>::Attributes,
pub other_attributes: Vec<(String, Option<String>), Global>,
}
Available on crate feature
typed
only.Fields§
§attributes: <h1 as TypedElement>::Attributes
§other_attributes: Vec<(String, Option<String>), Global>
Trait Implementations§
source§impl TypedElement for h1
impl TypedElement for h1
§type Attributes = H1Attributes
type Attributes = H1Attributes
The attributes of the element.
source§fn from_attributes(
attributes: <h1 as TypedElement>::Attributes,
other_attributes: Vec<(String, Option<String>), Global>
) -> h1
fn from_attributes( attributes: <h1 as TypedElement>::Attributes, other_attributes: Vec<(String, Option<String>), Global> ) -> h1
Create an element from its attributes.
Auto Trait Implementations§
impl RefUnwindSafe for h1
impl Send for h1
impl Sync for h1
impl Unpin for h1
impl UnwindSafe for h1
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