pub struct HtmlStyleElement { /* private fields */ }Expand description
A structure representing HTML <style> element.
Implementations§
Source§impl HtmlStyleElement
impl HtmlStyleElement
pub fn new(style: CssDocument) -> Self
pub fn indent(self, indent: usize) -> Self
pub fn set_indent(&mut self, indent: usize)
Trait Implementations§
Source§impl Clone for HtmlStyleElement
impl Clone for HtmlStyleElement
Source§fn clone(&self) -> HtmlStyleElement
fn clone(&self) -> HtmlStyleElement
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HtmlStyleElement
impl Debug for HtmlStyleElement
Source§impl From<HtmlStyleElement> for HtmlElement
impl From<HtmlStyleElement> for HtmlElement
Source§fn from(value: HtmlStyleElement) -> Self
fn from(value: HtmlStyleElement) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for HtmlStyleElement
impl RefUnwindSafe for HtmlStyleElement
impl Send for HtmlStyleElement
impl Sync for HtmlStyleElement
impl Unpin for HtmlStyleElement
impl UnwindSafe for HtmlStyleElement
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