pub enum StorageTarget {
Image {
dim: TextureDim,
arrayed: bool,
sample: SampleType,
},
Buffer(BufferKind),
}Expand description
What a storage resource is.
Variants§
Image
A storage image.
Buffer(BufferKind)
A storage buffer.
Trait Implementations§
Source§impl Clone for StorageTarget
impl Clone for StorageTarget
impl Copy for StorageTarget
Source§impl Debug for StorageTarget
impl Debug for StorageTarget
impl Eq for StorageTarget
Source§impl Hash for StorageTarget
impl Hash for StorageTarget
Source§impl Ord for StorageTarget
impl Ord for StorageTarget
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for StorageTarget
impl PartialEq for StorageTarget
Source§impl PartialOrd for StorageTarget
impl PartialOrd for StorageTarget
Source§impl Serialize for StorageTarget
impl Serialize for StorageTarget
impl StructuralPartialEq for StorageTarget
Auto Trait Implementations§
impl Freeze for StorageTarget
impl RefUnwindSafe for StorageTarget
impl Send for StorageTarget
impl Sync for StorageTarget
impl Unpin for StorageTarget
impl UnsafeUnpin for StorageTarget
impl UnwindSafe for StorageTarget
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