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
Source§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
Source§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
Source§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
Source§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
impl Copy for SwapchainUsageFlags
impl Eq for SwapchainUsageFlags
impl StructuralPartialEq for SwapchainUsageFlags
Auto Trait Implementations§
impl Freeze for SwapchainUsageFlags
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