pub struct CSSStyle<'a> { /* private fields */ }Expand description
CSS style representation.
Implementations§
Source§impl<'a> CSSStyle<'a>
impl<'a> CSSStyle<'a>
pub fn builder( cssProperties: Vec<CSSProperty<'a>>, shorthandEntries: Vec<ShorthandEntry<'a>>, ) -> CSSStyleBuilder<'a>
pub fn styleSheetId(&self) -> Option<&StyleSheetId<'a>>
pub fn cssProperties(&self) -> &[CSSProperty<'a>]
pub fn shorthandEntries(&self) -> &[ShorthandEntry<'a>]
pub fn cssText(&self) -> Option<&str>
pub fn range(&self) -> Option<&SourceRange>
Trait Implementations§
Source§impl<'de, 'a> Deserialize<'de> for CSSStyle<'a>
impl<'de, 'a> Deserialize<'de> for CSSStyle<'a>
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl<'a> Freeze for CSSStyle<'a>
impl<'a> RefUnwindSafe for CSSStyle<'a>
impl<'a> Send for CSSStyle<'a>
impl<'a> Sync for CSSStyle<'a>
impl<'a> Unpin for CSSStyle<'a>
impl<'a> UnsafeUnpin for CSSStyle<'a>
impl<'a> UnwindSafe for CSSStyle<'a>
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