Struct cdp::css::ShorthandEntry
[−]
[src]
pub struct ShorthandEntry<'a> { pub name: Cow<'a, str>, pub value: Cow<'a, str>, pub important: Option<bool>, }
[Experimental]
Fields
name: Cow<'a, str>
Shorthand name.
value: Cow<'a, str>
Shorthand value.
important: Option<bool>
Whether the property has "!important" annotation (implies false
if absent).
Trait Implementations
impl<'a> Clone for ShorthandEntry<'a>
[src]
fn clone(&self) -> ShorthandEntry<'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 ShorthandEntry<'a>
[src]
impl<'a> PartialEq for ShorthandEntry<'a>
[src]
fn eq(&self, __arg_0: &ShorthandEntry<'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: &ShorthandEntry<'a>) -> bool
[src]
This method tests for !=
.