pub struct nav {
pub attributes: <nav as TypedElement>::Attributes,
pub data_attributes: Vec<(String, Option<String>), Global>,
pub aria_attributes: Vec<(String, Option<String>), Global>,
}
Available on crate feature
typed
only.Fields§
§attributes: <nav as TypedElement>::Attributes
§data_attributes: Vec<(String, Option<String>), Global>
§aria_attributes: Vec<(String, Option<String>), Global>
Trait Implementations§
§type Attributes = NavAttributes
type Attributes = NavAttributes
The attributes of the element.
source§fn from_attributes(
attributes: <nav as TypedElement>::Attributes,
data_attributes: Vec<(String, Option<String>), Global>,
aria_attributes: Vec<(String, Option<String>), Global>
) -> nav
fn from_attributes( attributes: <nav as TypedElement>::Attributes, data_attributes: Vec<(String, Option<String>), Global>, aria_attributes: Vec<(String, Option<String>), Global> ) -> nav
Create an element from its attributes.