Struct style::properties::NonCustomPropertyIdSet
source · pub struct NonCustomPropertyIdSet {
storage: [u32; 8],
}
Expand description
A set of all properties.
Fields§
§storage: [u32; 8]
Implementations§
source§impl NonCustomPropertyIdSet
impl NonCustomPropertyIdSet
sourcepub fn insert(&mut self, id: NonCustomPropertyId)
pub fn insert(&mut self, id: NonCustomPropertyId)
Insert a non-custom-property in the set.
sourcepub fn contains(&self, id: NonCustomPropertyId) -> bool
pub fn contains(&self, id: NonCustomPropertyId) -> bool
Return whether the given property is in the set
Trait Implementations§
source§impl Clone for NonCustomPropertyIdSet
impl Clone for NonCustomPropertyIdSet
source§fn clone(&self) -> NonCustomPropertyIdSet
fn clone(&self) -> NonCustomPropertyIdSet
Returns a copy 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 Default for NonCustomPropertyIdSet
impl Default for NonCustomPropertyIdSet
source§fn default() -> NonCustomPropertyIdSet
fn default() -> NonCustomPropertyIdSet
Returns the “default value” for a type. Read more
source§impl PartialEq<NonCustomPropertyIdSet> for NonCustomPropertyIdSet
impl PartialEq<NonCustomPropertyIdSet> for NonCustomPropertyIdSet
source§fn eq(&self, other: &NonCustomPropertyIdSet) -> bool
fn eq(&self, other: &NonCustomPropertyIdSet) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for NonCustomPropertyIdSet
Auto Trait Implementations§
impl RefUnwindSafe for NonCustomPropertyIdSet
impl Send for NonCustomPropertyIdSet
impl Sync for NonCustomPropertyIdSet
impl Unpin for NonCustomPropertyIdSet
impl UnwindSafe for NonCustomPropertyIdSet
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
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>where
F: FnOnce(&Self) -> bool,
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>where F: FnOnce(&Self) -> bool,
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§impl<T> MaybeBoxed<Box<T, Global>> for T
impl<T> MaybeBoxed<Box<T, Global>> for T
source§fn maybe_boxed(self) -> Box<T, Global>
fn maybe_boxed(self) -> Box<T, Global>
Convert
source§impl<T> MaybeBoxed<T> for T
impl<T> MaybeBoxed<T> for T
source§fn maybe_boxed(self) -> T
fn maybe_boxed(self) -> T
Convert