Struct style::properties::LonghandIdSet
[−]
[src]
pub struct LonghandIdSet { /* fields omitted */ }
A set of longhand properties
Methods
impl LonghandIdSet
[src]
ⓘImportant traits for LonghandIdSetIterator<'a>pub fn iter(&self) -> LonghandIdSetIterator
[src]
ⓘImportant traits for LonghandIdSetIterator<'a>
Iterate over the current longhand id set.
pub fn contains_all(&self, other: &Self) -> bool
[src]
Returns whether this set contains at least every longhand that other
also contains.
pub fn new() -> LonghandIdSet
[src]
Create an empty set
pub fn contains(&self, id: LonghandId) -> bool
[src]
Return whether the given property is in the set
pub fn insert(&mut self, id: LonghandId)
[src]
Add the given property to the set
pub fn remove(&mut self, id: LonghandId)
[src]
Remove the given property from the set
pub fn clear(&mut self)
[src]
Clear all bits
pub fn is_empty(&self) -> bool
[src]
Returns whether the set is empty.
Trait Implementations
impl Clone for LonghandIdSet
[src]
fn clone(&self) -> LonghandIdSet
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for LonghandIdSet
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl MallocSizeOf for LonghandIdSet
[src]
fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
[src]
Measure the heap usage of all descendant heap-allocated structures, but not the space taken up by the value itself. Read more
impl PartialEq for LonghandIdSet
[src]
fn eq(&self, __arg_0: &LonghandIdSet) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &LonghandIdSet) -> bool
[src]
This method tests for !=
.