pub struct CSSDeclarationList {
pub declarations: Vec<CSSDeclaration>,
}
Fields§
§declarations: Vec<CSSDeclaration>
Implementations§
Source§impl CSSDeclarationList
impl CSSDeclarationList
pub fn from_string(css_block: &str) -> Result<Self, String>
pub fn remove_declaration(&mut self, decl_name: &str)
pub fn new() -> Self
Trait Implementations§
Source§impl Clone for CSSDeclarationList
impl Clone for CSSDeclarationList
Source§fn clone(&self) -> CSSDeclarationList
fn clone(&self) -> CSSDeclarationList
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 moreSource§impl Debug for CSSDeclarationList
impl Debug for CSSDeclarationList
Source§impl Display for CSSDeclarationList
impl Display for CSSDeclarationList
Source§impl PartialEq for CSSDeclarationList
impl PartialEq for CSSDeclarationList
impl StructuralPartialEq for CSSDeclarationList
Auto Trait Implementations§
impl Freeze for CSSDeclarationList
impl RefUnwindSafe for CSSDeclarationList
impl Send for CSSDeclarationList
impl Sync for CSSDeclarationList
impl Unpin for CSSDeclarationList
impl UnwindSafe for CSSDeclarationList
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