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