[][src]Struct openxr::SwapchainUsageFlags

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

Implementations

impl SwapchainUsageFlags[src]

pub const COLOR_ATTACHMENT: SwapchainUsageFlags[src]

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

pub const DEPTH_STENCIL_ATTACHMENT: SwapchainUsageFlags[src]

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

pub const UNORDERED_ACCESS: SwapchainUsageFlags[src]

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

pub const TRANSFER_SRC: SwapchainUsageFlags[src]

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

pub const TRANSFER_DST: SwapchainUsageFlags[src]

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

pub const SAMPLED: SwapchainUsageFlags[src]

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

pub const MUTABLE_FORMAT: SwapchainUsageFlags[src]

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

pub const INPUT_ATTACHMENT: SwapchainUsageFlags[src]

Specifies that the image can: be used as a input attachment.

impl SwapchainUsageFlags[src]

pub const EMPTY: SwapchainUsageFlags[src]

pub fn from_raw(x: u64) -> SwapchainUsageFlags[src]

pub fn into_raw(self) -> u64[src]

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

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

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

Returns whether other is a subset of self

Trait Implementations

impl BitAnd<SwapchainUsageFlags> for SwapchainUsageFlags[src]

type Output = SwapchainUsageFlags

The resulting type after applying the & operator.

impl BitAndAssign<SwapchainUsageFlags> for SwapchainUsageFlags[src]

impl BitOr<SwapchainUsageFlags> for SwapchainUsageFlags[src]

type Output = SwapchainUsageFlags

The resulting type after applying the | operator.

impl BitOrAssign<SwapchainUsageFlags> for SwapchainUsageFlags[src]

impl BitXor<SwapchainUsageFlags> for SwapchainUsageFlags[src]

type Output = SwapchainUsageFlags

The resulting type after applying the ^ operator.

impl BitXorAssign<SwapchainUsageFlags> for SwapchainUsageFlags[src]

impl Clone for SwapchainUsageFlags[src]

impl Copy for SwapchainUsageFlags[src]

impl Debug for SwapchainUsageFlags[src]

impl Default for SwapchainUsageFlags[src]

impl Eq for SwapchainUsageFlags[src]

impl Not for SwapchainUsageFlags[src]

type Output = SwapchainUsageFlags

The resulting type after applying the ! operator.

impl PartialEq<SwapchainUsageFlags> for SwapchainUsageFlags[src]

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.