Struct chromiumoxide::cdp::browser_protocol::css::CssStyle[][src]

pub struct CssStyle {
    pub style_sheet_id: Option<StyleSheetId>,
    pub css_properties: Vec<CssProperty, Global>,
    pub shorthand_entries: Vec<ShorthandEntry, Global>,
    pub css_text: Option<String>,
    pub range: Option<SourceRange>,
}

CSS style representation. CSSStyle

Fields

style_sheet_id: Option<StyleSheetId>

The css style sheet identifier (absent for user agent stylesheet and user-specified stylesheet rules) this rule came from.

css_properties: Vec<CssProperty, Global>

CSS properties in the style.

shorthand_entries: Vec<ShorthandEntry, Global>

Computed values for all shorthands found in the style.

css_text: Option<String>

Style declaration text (if available).

range: Option<SourceRange>

Style declaration range in the enclosing stylesheet (if available).

Implementations

impl CssStyle[src]

pub fn new(
    css_properties: Vec<CssProperty, Global>,
    shorthand_entries: Vec<ShorthandEntry, Global>
) -> CssStyle
[src]

impl CssStyle[src]

impl CssStyle[src]

pub const IDENTIFIER: &'static str[src]

Trait Implementations

impl Clone for CssStyle[src]

impl Debug for CssStyle[src]

impl<'de> Deserialize<'de> for CssStyle[src]

impl PartialEq<CssStyle> for CssStyle[src]

impl Serialize for CssStyle[src]

impl StructuralPartialEq for CssStyle[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,