pub struct CssDeclaration {
pub property: String,
pub value: String,
pub important: bool,
}Expand description
A parsed CSS declaration (property: value pair).
Fields§
§property: String§value: String§important: boolTrait 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 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for CssDeclaration
impl RefUnwindSafe for CssDeclaration
impl Send for CssDeclaration
impl Sync for CssDeclaration
impl Unpin 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