Struct cdp::css::StyleDeclarationEdit
[−]
[src]
pub struct StyleDeclarationEdit<'a> {
pub style_sheet_id: StyleSheetId<'a>,
pub range: SourceRange,
pub text: Cow<'a, str>,
}[Experimental] A descriptor of operation to mutate style declaration text.
Fields
style_sheet_id: StyleSheetId<'a>
The css style sheet identifier.
range: SourceRange
The range of the style text in the enclosing stylesheet.
text: Cow<'a, str>
New style text.
Trait Implementations
impl<'a> Clone for StyleDeclarationEdit<'a>[src]
fn clone(&self) -> StyleDeclarationEdit<'a>[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl<'a> Debug for StyleDeclarationEdit<'a>[src]
impl<'a> PartialEq for StyleDeclarationEdit<'a>[src]
fn eq(&self, __arg_0: &StyleDeclarationEdit<'a>) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &StyleDeclarationEdit<'a>) -> bool[src]
This method tests for !=.