pub struct PropertyDeclarations<I: HasImportance>(pub Vec<PropertyDeclaration<I>>);
Expand description
A list of property declarations
Tuple Fields§
§0: Vec<PropertyDeclaration<I>>
Implementations§
Source§impl<I: HasImportance> PropertyDeclarations<I>
impl<I: HasImportance> PropertyDeclarations<I>
Trait Implementations§
Source§impl<I: Clone + HasImportance> Clone for PropertyDeclarations<I>
impl<I: Clone + HasImportance> Clone for PropertyDeclarations<I>
Source§fn clone(&self) -> PropertyDeclarations<I>
fn clone(&self) -> PropertyDeclarations<I>
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<I: Debug + HasImportance> Debug for PropertyDeclarations<I>
impl<I: Debug + HasImportance> Debug for PropertyDeclarations<I>
Source§impl<I: Default + HasImportance> Default for PropertyDeclarations<I>
impl<I: Default + HasImportance> Default for PropertyDeclarations<I>
Source§fn default() -> PropertyDeclarations<I>
fn default() -> PropertyDeclarations<I>
Returns the “default value” for a type. Read more
Source§impl<I: HasImportance> HasPropertyDeclarations<I> for PropertyDeclarations<I>
impl<I: HasImportance> HasPropertyDeclarations<I> for PropertyDeclarations<I>
fn property_declarations(&self) -> &PropertyDeclarations<I>
fn property_declarations_mut(&mut self) -> &mut PropertyDeclarations<I>
fn property_declarations_slice(&self) -> &[PropertyDeclaration<I>]
fn property_declarations_vec(&self) -> &Vec<PropertyDeclaration<I>>
fn property_declarations_vec_mut(&mut self) -> &mut Vec<PropertyDeclaration<I>>
Source§impl<I: Hash + HasImportance> Hash for PropertyDeclarations<I>
impl<I: Hash + HasImportance> Hash for PropertyDeclarations<I>
Source§impl<I: Ord + HasImportance> Ord for PropertyDeclarations<I>
impl<I: Ord + HasImportance> Ord for PropertyDeclarations<I>
Source§fn cmp(&self, other: &PropertyDeclarations<I>) -> Ordering
fn cmp(&self, other: &PropertyDeclarations<I>) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<I: PartialEq + HasImportance> PartialEq for PropertyDeclarations<I>
impl<I: PartialEq + HasImportance> PartialEq for PropertyDeclarations<I>
Source§impl<I: PartialOrd + HasImportance> PartialOrd for PropertyDeclarations<I>
impl<I: PartialOrd + HasImportance> PartialOrd for PropertyDeclarations<I>
Source§impl<I: HasImportance> ToCss for PropertyDeclarations<I>
impl<I: HasImportance> ToCss for PropertyDeclarations<I>
impl<I: Eq + HasImportance> Eq for PropertyDeclarations<I>
impl<I: HasImportance> StructuralPartialEq for PropertyDeclarations<I>
Auto Trait Implementations§
impl<I> Freeze for PropertyDeclarations<I>
impl<I> RefUnwindSafe for PropertyDeclarations<I>where
I: RefUnwindSafe,
impl<I> Send for PropertyDeclarations<I>where
I: Send,
impl<I> Sync for PropertyDeclarations<I>where
I: Sync,
impl<I> Unpin for PropertyDeclarations<I>where
I: Unpin,
impl<I> UnwindSafe for PropertyDeclarations<I>where
I: UnwindSafe,
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