[−]Struct openxr::SwapchainUsageFlags
Methods
impl SwapchainUsageFlags
pub const COLOR_ATTACHMENT: SwapchainUsageFlags
Specifies that the image can: be a color rendering target.
pub const DEPTH_STENCIL_ATTACHMENT: SwapchainUsageFlags
Specifies that the image can: be a depth/stencil rendering target.
pub const UNORDERED_ACCESS: SwapchainUsageFlags
Specifies that the image can: be used as data/compute.
pub const TRANSFER_SRC: SwapchainUsageFlags
Specifies that the image can: be used as the source of a transfer command.
pub const TRANSFER_DST: SwapchainUsageFlags
Specifies that the image can: be used as the destination of a transfer command.
pub const SAMPLED: SwapchainUsageFlags
Specifies that the image can: be sampled by a shader.
pub const MUTABLE_FORMAT: SwapchainUsageFlags
Specifies that the image can: be reinterpreted as another image format.
impl SwapchainUsageFlags
pub const EMPTY: SwapchainUsageFlags
pub fn from_raw(x: u64) -> SwapchainUsageFlags
pub fn into_raw(self) -> u64
pub fn is_empty(self) -> bool
pub fn intersects(self, other: SwapchainUsageFlags) -> bool
pub fn contains(self, other: SwapchainUsageFlags) -> bool
Returns whether other
is a subset of self
Trait Implementations
impl BitXorAssign<SwapchainUsageFlags> for SwapchainUsageFlags
fn bitxor_assign(&mut self, rhs: SwapchainUsageFlags)
impl Not for SwapchainUsageFlags
type Output = SwapchainUsageFlags
The resulting type after applying the !
operator.
fn not(self) -> SwapchainUsageFlags
impl Debug for SwapchainUsageFlags
impl Copy for SwapchainUsageFlags
impl BitAnd<SwapchainUsageFlags> for SwapchainUsageFlags
type Output = SwapchainUsageFlags
The resulting type after applying the &
operator.
fn bitand(self, rhs: SwapchainUsageFlags) -> SwapchainUsageFlags
impl Clone for SwapchainUsageFlags
fn clone(&self) -> SwapchainUsageFlags
default fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl BitOrAssign<SwapchainUsageFlags> for SwapchainUsageFlags
fn bitor_assign(&mut self, rhs: SwapchainUsageFlags)
impl BitAndAssign<SwapchainUsageFlags> for SwapchainUsageFlags
fn bitand_assign(&mut self, rhs: SwapchainUsageFlags)
impl Eq for SwapchainUsageFlags
impl BitOr<SwapchainUsageFlags> for SwapchainUsageFlags
type Output = SwapchainUsageFlags
The resulting type after applying the |
operator.
fn bitor(self, rhs: SwapchainUsageFlags) -> SwapchainUsageFlags
impl BitXor<SwapchainUsageFlags> for SwapchainUsageFlags
type Output = SwapchainUsageFlags
The resulting type after applying the ^
operator.
fn bitxor(self, rhs: SwapchainUsageFlags) -> SwapchainUsageFlags
impl PartialEq<SwapchainUsageFlags> for SwapchainUsageFlags
fn eq(&self, other: &SwapchainUsageFlags) -> bool
fn ne(&self, other: &SwapchainUsageFlags) -> bool
impl Default for SwapchainUsageFlags
fn default() -> SwapchainUsageFlags
Auto Trait Implementations
impl Send for SwapchainUsageFlags
impl Sync for SwapchainUsageFlags
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Scalar for T where
T: Copy + PartialEq<T> + Any + Debug,
[src]
T: Copy + PartialEq<T> + Any + Debug,
impl<T> Same for T
type Output = T
Should always be Self
impl<SS, SP> SupersetOf for SP where
SS: SubsetOf<SP>,
SS: SubsetOf<SP>,