pub struct Style { /* private fields */ }
Expand description
A style
element.
Implementations§
Methods from Deref<Target = Element>§
sourcepub fn get_attributes(&self) -> &Attributes
pub fn get_attributes(&self) -> &Attributes
Return the attributes.
sourcepub fn get_attributes_mut(&mut self) -> &mut Attributes
pub fn get_attributes_mut(&mut self) -> &mut Attributes
Return the attributes as mutable.
sourcepub fn get_children(&self) -> &Children
pub fn get_children(&self) -> &Children
Return the children.
sourcepub fn get_children_mut(&mut self) -> &mut Children
pub fn get_children_mut(&mut self) -> &mut Children
Return the children as mutable.
Trait Implementations§
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