Struct style::properties::PropertyDeclarationIdSet
[−]
[src]
pub struct PropertyDeclarationIdSet { /* fields omitted */ }
A specialized set of PropertyDeclarationId
Methods
impl PropertyDeclarationIdSet
[src]
pub fn new() -> Self
[src]
Empty set
pub fn longhands(&self) -> &LonghandIdSet
[src]
Returns all the longhands that this set contains.
pub fn is_empty(&self) -> bool
[src]
Returns whether the set is empty.
pub fn clear(&mut self)
[src]
Clears the set.
pub fn contains(&mut self, id: PropertyDeclarationId) -> bool
[src]
Returns whether the given ID is in the set
pub fn insert(&mut self, id: PropertyDeclarationId)
[src]
Insert the given ID in the set