pub struct nav {
pub attributes: NavAttributes,
pub data_attributes: Vec<(String, Option<String>), Global>,
pub aria_attributes: Vec<(String, Option<String>), Global>,
}Fields§
§attributes: NavAttributes§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.
Auto Trait Implementations§
Blanket Implementations§
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more