pub enum SampleCount {
X1,
X2,
X4,
X8,
X16,
X32,
X64,
}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
X1
Single image sample. This is the usual mode.
X2
Multiple image samples.
X4
Multiple image samples.
X8
Multiple image samples.
X16
Multiple image samples.
X32
Multiple image samples.
X64
Multiple image samples.
Trait Implementations
sourceimpl Clone for SampleCount
impl Clone for SampleCount
sourcefn clone(&self) -> SampleCount
fn clone(&self) -> SampleCount
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for SampleCount
impl Debug for SampleCount
sourceimpl Default for SampleCount
impl Default for SampleCount
sourceimpl Hash for SampleCount
impl Hash for SampleCount
sourceimpl PartialEq<SampleCount> for SampleCount
impl PartialEq<SampleCount> for SampleCount
sourcefn eq(&self, other: &SampleCount) -> bool
fn eq(&self, other: &SampleCount) -> bool
impl Copy for SampleCount
impl Eq for SampleCount
impl StructuralEq for SampleCount
impl StructuralPartialEq for SampleCount
Auto Trait Implementations
impl RefUnwindSafe for SampleCount
impl Send for SampleCount
impl Sync for SampleCount
impl Unpin for SampleCount
impl UnwindSafe for SampleCount
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more