pub struct CssDeclaration {
pub property: String,
pub value: String,
}Expand description
A lightweight CSS declaration.
Fields§
§property: String§value: StringTrait Implementations§
Source§impl Clone for CssDeclaration
impl Clone for CssDeclaration
Source§fn clone(&self) -> CssDeclaration
fn clone(&self) -> CssDeclaration
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CssDeclaration
impl Debug for CssDeclaration
Source§impl PartialEq for CssDeclaration
impl PartialEq for CssDeclaration
Source§fn eq(&self, other: &CssDeclaration) -> bool
fn eq(&self, other: &CssDeclaration) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for CssDeclaration
impl StructuralPartialEq for CssDeclaration
Auto Trait Implementations§
impl Freeze for CssDeclaration
impl RefUnwindSafe for CssDeclaration
impl Send for CssDeclaration
impl Sync for CssDeclaration
impl Unpin for CssDeclaration
impl UnsafeUnpin for CssDeclaration
impl UnwindSafe for CssDeclaration
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