[][src]Struct openxr_sys::SwapchainUsageFlags

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

Methods

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.

impl SwapchainUsageFlags[src]

pub const EMPTY: Self[src]

pub fn from_raw(x: u64) -> Self[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 Copy for SwapchainUsageFlags[src]

impl PartialEq<SwapchainUsageFlags> for SwapchainUsageFlags[src]

impl Default for SwapchainUsageFlags[src]

impl Clone for SwapchainUsageFlags[src]

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

Performs copy-assignment from source. Read more

impl Eq for SwapchainUsageFlags[src]

impl Debug for SwapchainUsageFlags[src]

impl Not for SwapchainUsageFlags[src]

type Output = SwapchainUsageFlags

The resulting type after applying the ! operator.

impl BitAnd<SwapchainUsageFlags> for SwapchainUsageFlags[src]

type Output = SwapchainUsageFlags

The resulting type after applying the & operator.

impl BitOr<SwapchainUsageFlags> for SwapchainUsageFlags[src]

type Output = SwapchainUsageFlags

The resulting type after applying the | operator.

impl BitXor<SwapchainUsageFlags> for SwapchainUsageFlags[src]

type Output = SwapchainUsageFlags

The resulting type after applying the ^ operator.

impl BitAndAssign<SwapchainUsageFlags> for SwapchainUsageFlags[src]

impl BitOrAssign<SwapchainUsageFlags> for SwapchainUsageFlags[src]

impl BitXorAssign<SwapchainUsageFlags> for SwapchainUsageFlags[src]

Auto Trait Implementations

Blanket Implementations

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> From for 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.