pub struct EffectRow(/* private fields */);Expand description
Set of effect kinds produced by a Region. A row is a u32 bitmask
indexed by EffectKind::bit().
Implementations§
Source§impl EffectRow
impl EffectRow
Sourcepub const fn single(kind: EffectKind) -> Self
pub const fn single(kind: EffectKind) -> Self
Row containing exactly one effect kind.
Sourcepub const fn contains(self, kind: EffectKind) -> bool
pub const fn contains(self, kind: EffectKind) -> bool
Whether the row contains the given kind.
Trait Implementations§
impl Copy for EffectRow
impl Eq for EffectRow
impl StructuralPartialEq for EffectRow
Auto Trait Implementations§
impl Freeze for EffectRow
impl RefUnwindSafe for EffectRow
impl Send for EffectRow
impl Sync for EffectRow
impl Unpin for EffectRow
impl UnsafeUnpin for EffectRow
impl UnwindSafe for EffectRow
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.