Struct chrome_remote_interface_model::css::StyleDeclarationEdit[][src]

pub struct StyleDeclarationEdit { /* fields omitted */ }
This is supported on crate features experimental and CSS and DOM and Page only.

A descriptor of operation to mutate style declaration text.

Implementations

impl StyleDeclarationEdit[src]

pub fn new(
    style_sheet_id: StyleSheetId,
    range: SourceRange,
    text: String
) -> Self
[src]

pub fn style_sheet_id(&self) -> &StyleSheetId[src]

The css style sheet identifier.

pub fn range(&self) -> &SourceRange[src]

The range of the style text in the enclosing stylesheet.

pub fn text(&self) -> &str[src]

New style text.

Trait Implementations

impl Clone for StyleDeclarationEdit[src]

impl Debug for StyleDeclarationEdit[src]

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

impl Serialize for StyleDeclarationEdit[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> 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.