Enum spirv_std_types::image_params::ImageDepth
source · #[repr(u32)]pub enum ImageDepth {
False,
True,
Unknown,
}
Expand description
Whether a given image contains depth information. Note Whether or not to perform depth comparisons is a property of the sampling code, not of this type.
Variants§
False
Indicates that the image does not contain depth information.
True
Indicates that the image contains depth information.
Unknown
Indicates that is not known ahead of time whether the image has depth information or not.
Trait Implementations§
source§impl Clone for ImageDepth
impl Clone for ImageDepth
source§fn clone(&self) -> ImageDepth
fn clone(&self) -> ImageDepth
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 From<bool> for ImageDepth
impl From<bool> for ImageDepth
source§impl PartialEq<ImageDepth> for ImageDepth
impl PartialEq<ImageDepth> for ImageDepth
source§fn eq(&self, other: &ImageDepth) -> bool
fn eq(&self, other: &ImageDepth) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ImageDepth
impl Eq for ImageDepth
impl StructuralEq for ImageDepth
impl StructuralPartialEq for ImageDepth
Auto Trait Implementations§
impl RefUnwindSafe for ImageDepth
impl Send for ImageDepth
impl Sync for ImageDepth
impl Unpin for ImageDepth
impl UnwindSafe for ImageDepth
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