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