Struct pilka_incremental::ash::vk::SampleCountFlags[]

#[repr(transparent)]pub struct SampleCountFlags(_);

Implementations

impl SampleCountFlags

pub const TYPE_1: SampleCountFlags

Sample count 1 supported

pub const TYPE_2: SampleCountFlags

Sample count 2 supported

pub const TYPE_4: SampleCountFlags

Sample count 4 supported

pub const TYPE_8: SampleCountFlags

Sample count 8 supported

pub const TYPE_16: SampleCountFlags

Sample count 16 supported

pub const TYPE_32: SampleCountFlags

Sample count 32 supported

pub const TYPE_64: SampleCountFlags

Sample count 64 supported

impl SampleCountFlags

pub const fn empty() -> SampleCountFlags

pub const fn all() -> SampleCountFlags

pub const fn from_raw(x: u32) -> SampleCountFlags

pub const fn as_raw(self) -> u32

pub fn is_empty(self) -> bool

pub fn is_all(self) -> bool

pub fn intersects(self, other: SampleCountFlags) -> bool

pub fn contains(self, other: SampleCountFlags) -> bool

Returns whether other is a subset of self

Trait Implementations

impl BitAnd<SampleCountFlags> for SampleCountFlags

type Output = SampleCountFlags

The resulting type after applying the & operator.

impl BitAndAssign<SampleCountFlags> for SampleCountFlags

impl BitOr<SampleCountFlags> for SampleCountFlags

type Output = SampleCountFlags

The resulting type after applying the | operator.

impl BitOrAssign<SampleCountFlags> for SampleCountFlags

impl BitXor<SampleCountFlags> for SampleCountFlags

type Output = SampleCountFlags

The resulting type after applying the ^ operator.

impl BitXorAssign<SampleCountFlags> for SampleCountFlags

impl Clone for SampleCountFlags

impl Copy for SampleCountFlags

impl Debug for SampleCountFlags

impl Default for SampleCountFlags

impl Eq for SampleCountFlags

impl Hash for SampleCountFlags

impl Not for SampleCountFlags

type Output = SampleCountFlags

The resulting type after applying the ! operator.

impl Ord for SampleCountFlags

impl PartialEq<SampleCountFlags> for SampleCountFlags

impl PartialOrd<SampleCountFlags> for SampleCountFlags

impl StructuralEq for SampleCountFlags

impl StructuralPartialEq for SampleCountFlags

impl Sub<SampleCountFlags> for SampleCountFlags

type Output = SampleCountFlags

The resulting type after applying the - operator.

impl SubAssign<SampleCountFlags> for SampleCountFlags

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.