[][src]Struct ash::vk::SampleCountFlags

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

Methods

impl SampleCountFlags
[src]

pub fn empty() -> SampleCountFlags
[src]

pub fn all() -> SampleCountFlags
[src]

pub fn from_raw(x: Flags) -> Self
[src]

pub fn as_raw(self) -> Flags
[src]

pub fn is_empty(self) -> bool
[src]

pub fn is_all(self) -> bool
[src]

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

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

Returns whether other is a subset of self

impl SampleCountFlags
[src]

pub const TYPE_1: Self[src]

Sample count 1 supported

pub const TYPE_2: Self[src]

Sample count 2 supported

pub const TYPE_4: Self[src]

Sample count 4 supported

pub const TYPE_8: Self[src]

Sample count 8 supported

pub const TYPE_16: Self[src]

Sample count 16 supported

pub const TYPE_32: Self[src]

Sample count 32 supported

pub const TYPE_64: Self[src]

Sample count 64 supported

Trait Implementations

impl PartialOrd<SampleCountFlags> for SampleCountFlags
[src]

impl Ord for SampleCountFlags
[src]

fn max(self, other: Self) -> Self
1.21.0
[src]

Compares and returns the maximum of two values. Read more

fn min(self, other: Self) -> Self
1.21.0
[src]

Compares and returns the minimum of two values. Read more

impl Eq for SampleCountFlags
[src]

impl Copy for SampleCountFlags
[src]

impl Clone for SampleCountFlags
[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq<SampleCountFlags> for SampleCountFlags
[src]

impl Default for SampleCountFlags
[src]

impl Debug for SampleCountFlags
[src]

impl Hash for SampleCountFlags
[src]

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl Sub<SampleCountFlags> for SampleCountFlags
[src]

type Output = SampleCountFlags

The resulting type after applying the - operator.

impl SubAssign<SampleCountFlags> for SampleCountFlags
[src]

impl Not for SampleCountFlags
[src]

type Output = SampleCountFlags

The resulting type after applying the ! operator.

impl BitAnd<SampleCountFlags> for SampleCountFlags
[src]

type Output = SampleCountFlags

The resulting type after applying the & operator.

impl BitOr<SampleCountFlags> for SampleCountFlags
[src]

type Output = SampleCountFlags

The resulting type after applying the | operator.

impl BitXor<SampleCountFlags> for SampleCountFlags
[src]

type Output = SampleCountFlags

The resulting type after applying the ^ operator.

impl BitAndAssign<SampleCountFlags> for SampleCountFlags
[src]

impl BitOrAssign<SampleCountFlags> for SampleCountFlags
[src]

impl BitXorAssign<SampleCountFlags> for SampleCountFlags
[src]

impl Display for SampleCountFlags
[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From for T
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

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

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

type Owned = T

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.