Enum screen_13::driver::image::SampleCount
source · 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§
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
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.