Struct openxr_sys::SwapchainUsageFlags
source · pub struct SwapchainUsageFlags(/* private fields */);
Expand description
Implementations§
source§impl 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.
source§impl 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§
source§impl BitAnd for SwapchainUsageFlags
impl BitAnd for SwapchainUsageFlags
§type Output = SwapchainUsageFlags
type Output = SwapchainUsageFlags
The resulting type after applying the
&
operator.source§fn bitand(self, rhs: SwapchainUsageFlags) -> SwapchainUsageFlags
fn bitand(self, rhs: SwapchainUsageFlags) -> SwapchainUsageFlags
Performs the
&
operation. Read moresource§impl BitAndAssign for SwapchainUsageFlags
impl BitAndAssign for SwapchainUsageFlags
source§fn bitand_assign(&mut self, rhs: SwapchainUsageFlags)
fn bitand_assign(&mut self, rhs: SwapchainUsageFlags)
Performs the
&=
operation. Read moresource§impl BitOr for SwapchainUsageFlags
impl BitOr for SwapchainUsageFlags
§type Output = SwapchainUsageFlags
type Output = SwapchainUsageFlags
The resulting type after applying the
|
operator.source§fn bitor(self, rhs: SwapchainUsageFlags) -> SwapchainUsageFlags
fn bitor(self, rhs: SwapchainUsageFlags) -> SwapchainUsageFlags
Performs the
|
operation. Read moresource§impl BitOrAssign for SwapchainUsageFlags
impl BitOrAssign for SwapchainUsageFlags
source§fn bitor_assign(&mut self, rhs: SwapchainUsageFlags)
fn bitor_assign(&mut self, rhs: SwapchainUsageFlags)
Performs the
|=
operation. Read moresource§impl BitXor for SwapchainUsageFlags
impl BitXor for SwapchainUsageFlags
§type Output = SwapchainUsageFlags
type Output = SwapchainUsageFlags
The resulting type after applying the
^
operator.source§fn bitxor(self, rhs: SwapchainUsageFlags) -> SwapchainUsageFlags
fn bitxor(self, rhs: SwapchainUsageFlags) -> SwapchainUsageFlags
Performs the
^
operation. Read moresource§impl BitXorAssign for SwapchainUsageFlags
impl BitXorAssign for SwapchainUsageFlags
source§fn bitxor_assign(&mut self, rhs: SwapchainUsageFlags)
fn bitxor_assign(&mut self, rhs: SwapchainUsageFlags)
Performs the
^=
operation. Read moresource§impl Clone for SwapchainUsageFlags
impl Clone for SwapchainUsageFlags
source§fn clone(&self) -> SwapchainUsageFlags
fn clone(&self) -> SwapchainUsageFlags
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SwapchainUsageFlags
impl Debug for SwapchainUsageFlags
source§impl Default for SwapchainUsageFlags
impl Default for SwapchainUsageFlags
source§impl Not for SwapchainUsageFlags
impl Not for SwapchainUsageFlags
§type Output = SwapchainUsageFlags
type Output = SwapchainUsageFlags
The resulting type after applying the
!
operator.source§fn not(self) -> SwapchainUsageFlags
fn not(self) -> SwapchainUsageFlags
Performs the unary
!
operation. Read moresource§impl PartialEq for SwapchainUsageFlags
impl PartialEq for SwapchainUsageFlags
source§fn eq(&self, other: &SwapchainUsageFlags) -> bool
fn eq(&self, other: &SwapchainUsageFlags) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SwapchainUsageFlags
impl Eq 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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more