pub enum UsageFlags {
RenderTarget,
DepthStencil,
ShaderRead,
ShaderWrite,
CopySource,
CopyDest,
StorageBuffer,
UniformBuffer,
}Expand description
How a resource can be bound in a pass.
Variants§
Trait Implementations§
Source§impl Clone for UsageFlags
impl Clone for UsageFlags
Source§fn clone(&self) -> UsageFlags
fn clone(&self) -> UsageFlags
Returns a duplicate 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 UsageFlags
impl Debug for UsageFlags
Source§impl Hash for UsageFlags
impl Hash for UsageFlags
Source§impl PartialEq for UsageFlags
impl PartialEq for UsageFlags
impl Copy for UsageFlags
impl Eq for UsageFlags
impl StructuralPartialEq for UsageFlags
Auto Trait Implementations§
impl Freeze for UsageFlags
impl RefUnwindSafe for UsageFlags
impl Send for UsageFlags
impl Sync for UsageFlags
impl Unpin for UsageFlags
impl UnsafeUnpin for UsageFlags
impl UnwindSafe for UsageFlags
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.