Struct screen_13::prelude::vk::SampleCountFlags
source · pub struct SampleCountFlags(/* private fields */);
Expand description
Implementations§
source§impl 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
source§impl SampleCountFlags
impl SampleCountFlags
sourcepub const TYPE_1: SampleCountFlags = _
pub const TYPE_1: SampleCountFlags = _
Sample count 1 supported
sourcepub const TYPE_2: SampleCountFlags = _
pub const TYPE_2: SampleCountFlags = _
Sample count 2 supported
sourcepub const TYPE_4: SampleCountFlags = _
pub const TYPE_4: SampleCountFlags = _
Sample count 4 supported
sourcepub const TYPE_8: SampleCountFlags = _
pub const TYPE_8: SampleCountFlags = _
Sample count 8 supported
sourcepub const TYPE_16: SampleCountFlags = _
pub const TYPE_16: SampleCountFlags = _
Sample count 16 supported
sourcepub const TYPE_32: SampleCountFlags = _
pub const TYPE_32: SampleCountFlags = _
Sample count 32 supported
sourcepub const TYPE_64: SampleCountFlags = _
pub const TYPE_64: SampleCountFlags = _
Sample count 64 supported
Trait Implementations§
source§impl BitAnd for SampleCountFlags
impl BitAnd for SampleCountFlags
§type Output = SampleCountFlags
type Output = SampleCountFlags
The resulting type after applying the
&
operator.source§fn bitand(self, rhs: SampleCountFlags) -> SampleCountFlags
fn bitand(self, rhs: SampleCountFlags) -> SampleCountFlags
Performs the
&
operation. Read moresource§impl BitAndAssign for SampleCountFlags
impl BitAndAssign for SampleCountFlags
source§fn bitand_assign(&mut self, rhs: SampleCountFlags)
fn bitand_assign(&mut self, rhs: SampleCountFlags)
Performs the
&=
operation. Read moresource§impl BitOr for SampleCountFlags
impl BitOr for SampleCountFlags
§type Output = SampleCountFlags
type Output = SampleCountFlags
The resulting type after applying the
|
operator.source§fn bitor(self, rhs: SampleCountFlags) -> SampleCountFlags
fn bitor(self, rhs: SampleCountFlags) -> SampleCountFlags
Performs the
|
operation. Read moresource§impl BitOrAssign for SampleCountFlags
impl BitOrAssign for SampleCountFlags
source§fn bitor_assign(&mut self, rhs: SampleCountFlags)
fn bitor_assign(&mut self, rhs: SampleCountFlags)
Performs the
|=
operation. Read moresource§impl BitXor for SampleCountFlags
impl BitXor for SampleCountFlags
§type Output = SampleCountFlags
type Output = SampleCountFlags
The resulting type after applying the
^
operator.source§fn bitxor(self, rhs: SampleCountFlags) -> SampleCountFlags
fn bitxor(self, rhs: SampleCountFlags) -> SampleCountFlags
Performs the
^
operation. Read moresource§impl BitXorAssign for SampleCountFlags
impl BitXorAssign for SampleCountFlags
source§fn bitxor_assign(&mut self, rhs: SampleCountFlags)
fn bitxor_assign(&mut self, rhs: SampleCountFlags)
Performs the
^=
operation. Read moresource§impl Clone for SampleCountFlags
impl Clone for SampleCountFlags
source§fn clone(&self) -> SampleCountFlags
fn clone(&self) -> SampleCountFlags
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 Debug for SampleCountFlags
impl Debug for SampleCountFlags
source§impl Default for SampleCountFlags
impl Default for SampleCountFlags
source§fn default() -> SampleCountFlags
fn default() -> SampleCountFlags
Returns the “default value” for a type. Read more
source§impl Hash for SampleCountFlags
impl Hash for SampleCountFlags
source§impl Not for SampleCountFlags
impl Not for SampleCountFlags
§type Output = SampleCountFlags
type Output = SampleCountFlags
The resulting type after applying the
!
operator.source§fn not(self) -> SampleCountFlags
fn not(self) -> SampleCountFlags
Performs the unary
!
operation. Read moresource§impl Ord for SampleCountFlags
impl Ord for SampleCountFlags
source§fn cmp(&self, other: &SampleCountFlags) -> Ordering
fn cmp(&self, other: &SampleCountFlags) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for SampleCountFlags
impl PartialEq for SampleCountFlags
source§fn 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 ==
.source§impl PartialOrd for SampleCountFlags
impl PartialOrd for SampleCountFlags
source§fn partial_cmp(&self, other: &SampleCountFlags) -> Option<Ordering>
fn partial_cmp(&self, other: &SampleCountFlags) -> Option<Ordering>
1.0.0 · source§fn 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 moreimpl Copy for SampleCountFlags
impl Eq 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§
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