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