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