#[repr(transparent)]pub struct SampleCountFlags(_);Expand description
Implementations
sourceimpl SampleCountFlags
impl SampleCountFlags
pub const fn empty() -> SampleCountFlags
pub const fn from_raw(x: u32) -> SampleCountFlags
pub const fn as_raw(self) -> u32
pub const fn is_empty(self) -> bool
pub const fn intersects(self, other: SampleCountFlags) -> bool
sourcepub const fn contains(self, other: SampleCountFlags) -> bool
pub const fn contains(self, other: SampleCountFlags) -> bool
Returns whether other is a subset of self
sourceimpl SampleCountFlags
impl SampleCountFlags
sourcepub const TYPE_1: SampleCountFlags = Self(1)
pub const TYPE_1: SampleCountFlags = Self(1)
Sample count 1 supported
sourcepub const TYPE_2: SampleCountFlags = Self(2)
pub const TYPE_2: SampleCountFlags = Self(2)
Sample count 2 supported
sourcepub const TYPE_4: SampleCountFlags = Self(4)
pub const TYPE_4: SampleCountFlags = Self(4)
Sample count 4 supported
sourcepub const TYPE_8: SampleCountFlags = Self(8)
pub const TYPE_8: SampleCountFlags = Self(8)
Sample count 8 supported
sourcepub const TYPE_16: SampleCountFlags = Self(16)
pub const TYPE_16: SampleCountFlags = Self(16)
Sample count 16 supported
sourcepub const TYPE_32: SampleCountFlags = Self(32)
pub const TYPE_32: SampleCountFlags = Self(32)
Sample count 32 supported
sourcepub const TYPE_64: SampleCountFlags = Self(64)
pub const TYPE_64: SampleCountFlags = Self(64)
Sample count 64 supported
Trait Implementations
sourceimpl BitAnd<SampleCountFlags> for SampleCountFlags
impl BitAnd<SampleCountFlags> for SampleCountFlags
type Output = SampleCountFlags
type Output = SampleCountFlags
The resulting type after applying the & operator.
sourcefn bitand(self, rhs: SampleCountFlags) -> SampleCountFlags
fn bitand(self, rhs: SampleCountFlags) -> SampleCountFlags
Performs the & operation. Read more
sourceimpl BitAndAssign<SampleCountFlags> for SampleCountFlags
impl BitAndAssign<SampleCountFlags> for SampleCountFlags
sourcefn bitand_assign(&mut self, rhs: SampleCountFlags)
fn bitand_assign(&mut self, rhs: SampleCountFlags)
Performs the &= operation. Read more
sourceimpl BitOr<SampleCountFlags> for SampleCountFlags
impl BitOr<SampleCountFlags> for SampleCountFlags
type Output = SampleCountFlags
type Output = SampleCountFlags
The resulting type after applying the | operator.
sourcefn bitor(self, rhs: SampleCountFlags) -> SampleCountFlags
fn bitor(self, rhs: SampleCountFlags) -> SampleCountFlags
Performs the | operation. Read more
sourceimpl BitOrAssign<SampleCountFlags> for SampleCountFlags
impl BitOrAssign<SampleCountFlags> for SampleCountFlags
sourcefn bitor_assign(&mut self, rhs: SampleCountFlags)
fn bitor_assign(&mut self, rhs: SampleCountFlags)
Performs the |= operation. Read more
sourceimpl BitXor<SampleCountFlags> for SampleCountFlags
impl BitXor<SampleCountFlags> for SampleCountFlags
type Output = SampleCountFlags
type Output = SampleCountFlags
The resulting type after applying the ^ operator.
sourcefn bitxor(self, rhs: SampleCountFlags) -> SampleCountFlags
fn bitxor(self, rhs: SampleCountFlags) -> SampleCountFlags
Performs the ^ operation. Read more
sourceimpl BitXorAssign<SampleCountFlags> for SampleCountFlags
impl BitXorAssign<SampleCountFlags> for SampleCountFlags
sourcefn bitxor_assign(&mut self, rhs: SampleCountFlags)
fn bitxor_assign(&mut self, rhs: SampleCountFlags)
Performs the ^= operation. Read more
sourceimpl Clone for SampleCountFlags
impl Clone for SampleCountFlags
sourcefn clone(&self) -> SampleCountFlags
fn clone(&self) -> SampleCountFlags
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for SampleCountFlags
impl Debug for SampleCountFlags
sourceimpl Default for SampleCountFlags
impl Default for SampleCountFlags
sourcefn default() -> SampleCountFlags
fn default() -> SampleCountFlags
Returns the “default value” for a type. Read more
sourceimpl Hash for SampleCountFlags
impl Hash for SampleCountFlags
sourceimpl Not for SampleCountFlags
impl Not for SampleCountFlags
type Output = SampleCountFlags
type Output = SampleCountFlags
The resulting type after applying the ! operator.
sourcefn not(self) -> SampleCountFlags
fn not(self) -> SampleCountFlags
Performs the unary ! operation. Read more
sourceimpl Ord for SampleCountFlags
impl Ord for SampleCountFlags
sourceimpl PartialEq<SampleCountFlags> for SampleCountFlags
impl PartialEq<SampleCountFlags> for SampleCountFlags
sourcefn eq(&self, other: &SampleCountFlags) -> bool
fn eq(&self, other: &SampleCountFlags) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &SampleCountFlags) -> bool
fn ne(&self, other: &SampleCountFlags) -> bool
This method tests for !=.
sourceimpl PartialOrd<SampleCountFlags> for SampleCountFlags
impl PartialOrd<SampleCountFlags> for SampleCountFlags
sourcefn partial_cmp(&self, other: &SampleCountFlags) -> Option<Ordering>
fn partial_cmp(&self, other: &SampleCountFlags) -> Option<Ordering>
This method returns an ordering between self and other values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
impl Copy for SampleCountFlags
impl Eq for SampleCountFlags
impl StructuralEq for SampleCountFlags
impl StructuralPartialEq for SampleCountFlags
Auto Trait Implementations
impl RefUnwindSafe for SampleCountFlags
impl Send for SampleCountFlags
impl Sync for SampleCountFlags
impl Unpin for SampleCountFlags
impl UnwindSafe for SampleCountFlags
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more