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