[]Struct openxr::SwapchainUsageFlags

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

Methods

impl SwapchainUsageFlags

pub const COLOR_ATTACHMENT: SwapchainUsageFlags

Specifies that the image can: be a color rendering target.

pub const DEPTH_STENCIL_ATTACHMENT: SwapchainUsageFlags

Specifies that the image can: be a depth/stencil rendering target.

pub const UNORDERED_ACCESS: SwapchainUsageFlags

Specifies that the image can: be used as data/compute.

pub const TRANSFER_SRC: SwapchainUsageFlags

Specifies that the image can: be used as the source of a transfer command.

pub const TRANSFER_DST: SwapchainUsageFlags

Specifies that the image can: be used as the destination of a transfer command.

pub const SAMPLED: SwapchainUsageFlags

Specifies that the image can: be sampled by a shader.

pub const MUTABLE_FORMAT: SwapchainUsageFlags

Specifies that the image can: be reinterpreted as another image format.

impl SwapchainUsageFlags

pub const EMPTY: SwapchainUsageFlags

pub fn from_raw(x: u64) -> SwapchainUsageFlags

pub fn into_raw(self) -> u64

pub fn is_empty(self) -> bool

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

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

Returns whether other is a subset of self

Trait Implementations

impl Debug for SwapchainUsageFlags

impl BitXorAssign<SwapchainUsageFlags> for SwapchainUsageFlags

impl Not for SwapchainUsageFlags

type Output = SwapchainUsageFlags

The resulting type after applying the ! operator.

impl Copy for SwapchainUsageFlags

impl BitAnd<SwapchainUsageFlags> for SwapchainUsageFlags

type Output = SwapchainUsageFlags

The resulting type after applying the & operator.

impl Clone for SwapchainUsageFlags

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

Performs copy-assignment from source. Read more

impl BitOrAssign<SwapchainUsageFlags> for SwapchainUsageFlags

impl BitAndAssign<SwapchainUsageFlags> for SwapchainUsageFlags

impl Eq for SwapchainUsageFlags

impl BitOr<SwapchainUsageFlags> for SwapchainUsageFlags

type Output = SwapchainUsageFlags

The resulting type after applying the | operator.

impl BitXor<SwapchainUsageFlags> for SwapchainUsageFlags

type Output = SwapchainUsageFlags

The resulting type after applying the ^ operator.

impl PartialEq<SwapchainUsageFlags> for SwapchainUsageFlags

impl Default for SwapchainUsageFlags

Auto Trait Implementations

Blanket Implementations

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

type Owned = T

impl<T> From for T[src]

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

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

type Error = Infallible

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

The type returned in the event of a conversion error.

impl<T> Scalar for T where
    T: Copy + PartialEq<T> + Any + Debug
[src]

default fn is<T>() -> bool where
    T: Scalar
[src]

Tests if Self the same as the type T Read more

impl<T> Same for T

type Output = T

Should always be Self

impl<SS, SP> SupersetOf for SP where
    SS: SubsetOf<SP>,