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

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

https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkSampleCountFlagBits.html

Methods

impl SampleCountFlags[src]

pub const fn empty() -> SampleCountFlags[src]

pub const fn all() -> SampleCountFlags[src]

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

pub const 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 BitAnd<SampleCountFlags> for SampleCountFlags[src]

type Output = SampleCountFlags

The resulting type after applying the & operator.

impl BitAndAssign<SampleCountFlags> for SampleCountFlags[src]

impl BitOr<SampleCountFlags> for SampleCountFlags[src]

type Output = SampleCountFlags

The resulting type after applying the | operator.

impl BitOrAssign<SampleCountFlags> for SampleCountFlags[src]

impl BitXor<SampleCountFlags> for SampleCountFlags[src]

type Output = SampleCountFlags

The resulting type after applying the ^ operator.

impl BitXorAssign<SampleCountFlags> for SampleCountFlags[src]

impl Clone for SampleCountFlags[src]

impl Copy for SampleCountFlags[src]

impl Debug for SampleCountFlags[src]

impl Default for SampleCountFlags[src]

impl Eq for SampleCountFlags[src]

impl Hash for SampleCountFlags[src]

impl Not for SampleCountFlags[src]

type Output = SampleCountFlags

The resulting type after applying the ! operator.

impl Ord for SampleCountFlags[src]

impl PartialEq<SampleCountFlags> for SampleCountFlags[src]

impl PartialOrd<SampleCountFlags> for SampleCountFlags[src]

impl StructuralEq for SampleCountFlags[src]

impl StructuralPartialEq for SampleCountFlags[src]

impl Sub<SampleCountFlags> for SampleCountFlags[src]

type Output = SampleCountFlags

The resulting type after applying the - operator.

impl SubAssign<SampleCountFlags> for SampleCountFlags[src]

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

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.