Enum screen_13::driver::image::SampleCount
source · pub enum SampleCount {
Show 14 variants
Type1,
Type2,
Type4,
Type8,
Type16,
Type32,
Type64,
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§
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.
X1
👎Deprecated: Use Type1
Single image sample. This is the usual mode.
X2
👎Deprecated: Use Type2
Multiple image samples.
X4
👎Deprecated: Use Type4
Multiple image samples.
X8
👎Deprecated: Use Type8
Multiple image samples.
X16
👎Deprecated: Use Type16
Multiple image samples.
X32
👎Deprecated: Use Type32
Multiple image samples.
X64
👎Deprecated: Use Type64
Multiple image samples.
Trait Implementations§
source§impl Clone for SampleCount
impl Clone for SampleCount
source§fn clone(&self) -> SampleCount
fn clone(&self) -> SampleCount
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 SampleCount
impl Debug for SampleCount
source§impl Default for SampleCount
impl Default for SampleCount
source§impl Hash for SampleCount
impl Hash for SampleCount
source§impl PartialEq for SampleCount
impl PartialEq for SampleCount
source§fn eq(&self, other: &SampleCount) -> bool
fn eq(&self, other: &SampleCount) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SampleCount
impl Eq 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§
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