Struct openxr_sys::SwapchainUsageFlags
source · [−]#[repr(transparent)]pub struct SwapchainUsageFlags(_);Expand description
Implementations
sourceimpl SwapchainUsageFlags
impl SwapchainUsageFlags
sourcepub const COLOR_ATTACHMENT: SwapchainUsageFlags = _
pub const COLOR_ATTACHMENT: SwapchainUsageFlags = _
Specifies that the image may: be a color rendering target.
sourcepub const DEPTH_STENCIL_ATTACHMENT: SwapchainUsageFlags = _
pub const DEPTH_STENCIL_ATTACHMENT: SwapchainUsageFlags = _
Specifies that the image may: be a depth/stencil rendering target.
sourcepub const UNORDERED_ACCESS: SwapchainUsageFlags = _
pub const UNORDERED_ACCESS: SwapchainUsageFlags = _
Specifies that the image may: be accessed out of order and that access may: be via atomic operations.
sourcepub const TRANSFER_SRC: SwapchainUsageFlags = _
pub const TRANSFER_SRC: SwapchainUsageFlags = _
Specifies that the image may: be used as the source of a transfer operation.
sourcepub const TRANSFER_DST: SwapchainUsageFlags = _
pub const TRANSFER_DST: SwapchainUsageFlags = _
Specifies that the image may: be used as the destination of a transfer operation.
sourcepub const SAMPLED: SwapchainUsageFlags = _
pub const SAMPLED: SwapchainUsageFlags = _
Specifies that the image may: be sampled by a shader.
sourcepub const MUTABLE_FORMAT: SwapchainUsageFlags = _
pub const MUTABLE_FORMAT: SwapchainUsageFlags = _
Specifies that the image may: be reinterpreted as another image format.
sourcepub const INPUT_ATTACHMENT: SwapchainUsageFlags = _
pub const INPUT_ATTACHMENT: SwapchainUsageFlags = _
Specifies that the image may: be used as a input attachment.
sourceimpl SwapchainUsageFlags
impl SwapchainUsageFlags
pub const EMPTY: Self = _
pub fn from_raw(x: u64) -> Self
pub fn into_raw(self) -> u64
pub fn is_empty(self) -> bool
pub fn intersects(self, other: SwapchainUsageFlags) -> bool
sourcepub fn contains(self, other: SwapchainUsageFlags) -> bool
pub fn contains(self, other: SwapchainUsageFlags) -> bool
Returns whether other is a subset of self
Trait Implementations
sourceimpl BitAnd<SwapchainUsageFlags> for SwapchainUsageFlags
impl BitAnd<SwapchainUsageFlags> for SwapchainUsageFlags
type Output = SwapchainUsageFlags
type Output = SwapchainUsageFlags
The resulting type after applying the
& operator.sourcefn bitand(self, rhs: SwapchainUsageFlags) -> SwapchainUsageFlags
fn bitand(self, rhs: SwapchainUsageFlags) -> SwapchainUsageFlags
Performs the
& operation. Read moresourceimpl BitAndAssign<SwapchainUsageFlags> for SwapchainUsageFlags
impl BitAndAssign<SwapchainUsageFlags> for SwapchainUsageFlags
sourcefn bitand_assign(&mut self, rhs: SwapchainUsageFlags)
fn bitand_assign(&mut self, rhs: SwapchainUsageFlags)
Performs the
&= operation. Read moresourceimpl BitOr<SwapchainUsageFlags> for SwapchainUsageFlags
impl BitOr<SwapchainUsageFlags> for SwapchainUsageFlags
type Output = SwapchainUsageFlags
type Output = SwapchainUsageFlags
The resulting type after applying the
| operator.sourcefn bitor(self, rhs: SwapchainUsageFlags) -> SwapchainUsageFlags
fn bitor(self, rhs: SwapchainUsageFlags) -> SwapchainUsageFlags
Performs the
| operation. Read moresourceimpl BitOrAssign<SwapchainUsageFlags> for SwapchainUsageFlags
impl BitOrAssign<SwapchainUsageFlags> for SwapchainUsageFlags
sourcefn bitor_assign(&mut self, rhs: SwapchainUsageFlags)
fn bitor_assign(&mut self, rhs: SwapchainUsageFlags)
Performs the
|= operation. Read moresourceimpl BitXor<SwapchainUsageFlags> for SwapchainUsageFlags
impl BitXor<SwapchainUsageFlags> for SwapchainUsageFlags
type Output = SwapchainUsageFlags
type Output = SwapchainUsageFlags
The resulting type after applying the
^ operator.sourcefn bitxor(self, rhs: SwapchainUsageFlags) -> SwapchainUsageFlags
fn bitxor(self, rhs: SwapchainUsageFlags) -> SwapchainUsageFlags
Performs the
^ operation. Read moresourceimpl BitXorAssign<SwapchainUsageFlags> for SwapchainUsageFlags
impl BitXorAssign<SwapchainUsageFlags> for SwapchainUsageFlags
sourcefn bitxor_assign(&mut self, rhs: SwapchainUsageFlags)
fn bitxor_assign(&mut self, rhs: SwapchainUsageFlags)
Performs the
^= operation. Read moresourceimpl Clone for SwapchainUsageFlags
impl Clone for SwapchainUsageFlags
sourcefn clone(&self) -> SwapchainUsageFlags
fn clone(&self) -> SwapchainUsageFlags
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for SwapchainUsageFlags
impl Debug for SwapchainUsageFlags
sourceimpl Default for SwapchainUsageFlags
impl Default for SwapchainUsageFlags
sourceimpl Not for SwapchainUsageFlags
impl Not for SwapchainUsageFlags
type Output = SwapchainUsageFlags
type Output = SwapchainUsageFlags
The resulting type after applying the
! operator.sourcefn not(self) -> SwapchainUsageFlags
fn not(self) -> SwapchainUsageFlags
Performs the unary
! operation. Read moresourceimpl PartialEq<SwapchainUsageFlags> for SwapchainUsageFlags
impl PartialEq<SwapchainUsageFlags> for SwapchainUsageFlags
sourcefn eq(&self, other: &SwapchainUsageFlags) -> bool
fn eq(&self, other: &SwapchainUsageFlags) -> bool
impl Copy for SwapchainUsageFlags
impl Eq for SwapchainUsageFlags
impl StructuralEq for SwapchainUsageFlags
impl StructuralPartialEq for SwapchainUsageFlags
Auto Trait Implementations
impl RefUnwindSafe for SwapchainUsageFlags
impl Send for SwapchainUsageFlags
impl Sync for SwapchainUsageFlags
impl Unpin for SwapchainUsageFlags
impl UnwindSafe for SwapchainUsageFlags
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more