pub enum ImageDescriptorType {
Sampled {
with_sampler: bool,
},
Storage {
read_only: bool,
},
}
Expand description
Specific type of an image descriptor.
Variants§
Sampled
A sampled image allows sampling operations.
Fields
Storage
A storage image allows load, store and atomic operations.
Trait Implementations§
Source§impl Clone for ImageDescriptorType
impl Clone for ImageDescriptorType
Source§fn clone(&self) -> ImageDescriptorType
fn clone(&self) -> ImageDescriptorType
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 ImageDescriptorType
impl Debug for ImageDescriptorType
Source§impl Hash for ImageDescriptorType
impl Hash for ImageDescriptorType
Source§impl Ord for ImageDescriptorType
impl Ord for ImageDescriptorType
Source§fn cmp(&self, other: &ImageDescriptorType) -> Ordering
fn cmp(&self, other: &ImageDescriptorType) -> Ordering
1.21.0 · 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
Source§impl PartialEq for ImageDescriptorType
impl PartialEq for ImageDescriptorType
Source§impl PartialOrd for ImageDescriptorType
impl PartialOrd for ImageDescriptorType
impl Copy for ImageDescriptorType
impl Eq for ImageDescriptorType
impl StructuralPartialEq for ImageDescriptorType
Auto Trait Implementations§
impl Freeze for ImageDescriptorType
impl RefUnwindSafe for ImageDescriptorType
impl Send for ImageDescriptorType
impl Sync for ImageDescriptorType
impl Unpin for ImageDescriptorType
impl UnwindSafe for ImageDescriptorType
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