pub struct main {
pub attributes: MainAttributes,
pub data_attributes: Vec<(String, Option<String>), Global>,
pub aria_attributes: Vec<(String, Option<String>), Global>,
}Fields§
§attributes: MainAttributes§data_attributes: Vec<(String, Option<String>), Global>§aria_attributes: Vec<(String, Option<String>), Global>Trait Implementations§
source§impl TypedElement for main
impl TypedElement for main
§type Attributes = MainAttributes
type Attributes = MainAttributes
The attributes of the element.
source§fn from_attributes(
attributes: <main as TypedElement>::Attributes,
data_attributes: Vec<(String, Option<String>), Global>,
aria_attributes: Vec<(String, Option<String>), Global>
) -> main
fn from_attributes( attributes: <main as TypedElement>::Attributes, data_attributes: Vec<(String, Option<String>), Global>, aria_attributes: Vec<(String, Option<String>), Global> ) -> main
Create an element from its attributes.
Auto Trait Implementations§
impl RefUnwindSafe for main
impl Send for main
impl Sync for main
impl Unpin for main
impl UnwindSafe for main
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