pub enum SampleCount {
Type1,
Type2,
Type4,
Type8,
Type16,
Type32,
Type64,
}Expand description
Specifies sample counts supported for an image used for storage operation.
Values must not exceed the device limits specified by [Device.physical_device.props.limits].
Variants§
Type1
Single image sample. This is the usual mode.
Type2
Multiple image samples.
Type4
Multiple image samples.
Type8
Multiple image samples.
Type16
Multiple image samples.
Type32
Multiple image samples.
Type64
Multiple image samples.
Implementations§
Source§impl SampleCount
impl SampleCount
Trait Implementations§
Source§impl Clone for SampleCount
impl Clone for SampleCount
Source§fn clone(&self) -> SampleCount
fn clone(&self) -> SampleCount
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SampleCount
impl Debug for SampleCount
Source§impl Default for SampleCount
impl Default for SampleCount
Source§fn default() -> SampleCount
fn default() -> SampleCount
Returns the “default value” for a type. Read more
Source§impl From<SampleCount> for SampleCountFlags
impl From<SampleCount> for SampleCountFlags
Source§fn from(sample_count: SampleCount) -> Self
fn from(sample_count: SampleCount) -> Self
Converts to this type from the input type.
Source§impl Hash for SampleCount
impl Hash for SampleCount
Source§impl PartialEq for SampleCount
impl PartialEq for SampleCount
impl Copy for SampleCount
impl Eq for SampleCount
impl StructuralPartialEq for SampleCount
Auto Trait Implementations§
impl Freeze for SampleCount
impl RefUnwindSafe for SampleCount
impl Send for SampleCount
impl Sync for SampleCount
impl Unpin for SampleCount
impl UnwindSafe for SampleCount
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)