pub struct SampleStateMask(/* private fields */);Expand description
A set of SampleStates (SampleStateMask).
Implementations§
Source§impl SampleStateMask
impl SampleStateMask
Sourcepub const READ: SampleStateMask
pub const READ: SampleStateMask
READ_SAMPLE_STATE.
Sourcepub const NOT_READ: SampleStateMask
pub const NOT_READ: SampleStateMask
NOT_READ_SAMPLE_STATE.
Sourcepub const ANY: SampleStateMask
pub const ANY: SampleStateMask
Every state.
Sourcepub fn contains(self, s: SampleState) -> bool
pub fn contains(self, s: SampleState) -> bool
Whether the mask has s.
Trait Implementations§
Source§impl BitOr for SampleStateMask
impl BitOr for SampleStateMask
Source§type Output = SampleStateMask
type Output = SampleStateMask
The resulting type after applying the
| operator.Source§fn bitor(self, o: SampleStateMask) -> SampleStateMask
fn bitor(self, o: SampleStateMask) -> SampleStateMask
Performs the
| operation. Read moreSource§impl Clone for SampleStateMask
impl Clone for SampleStateMask
impl Copy for SampleStateMask
Source§impl Debug for SampleStateMask
impl Debug for SampleStateMask
impl Eq for SampleStateMask
Source§impl Hash for SampleStateMask
impl Hash for SampleStateMask
Source§impl PartialEq for SampleStateMask
impl PartialEq for SampleStateMask
impl StructuralPartialEq for SampleStateMask
Auto Trait Implementations§
impl Forget for SampleStateMask
impl Freeze for SampleStateMask
impl Move for SampleStateMask
impl RefUnwindSafe for SampleStateMask
impl Send for SampleStateMask
impl Sync for SampleStateMask
impl Unpin for SampleStateMask
impl UnsafeUnpin for SampleStateMask
impl UnwindSafe for SampleStateMask
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