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
sourceimpl Clone for ImageDepth
impl Clone for ImageDepth
sourcefn clone(&self) -> ImageDepth
fn clone(&self) -> ImageDepth
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 From<Option<bool>> for ImageDepth
impl From<Option<bool>> for ImageDepth
sourceimpl From<bool> for ImageDepth
impl From<bool> for ImageDepth
sourceimpl PartialEq<ImageDepth> for ImageDepth
impl PartialEq<ImageDepth> for ImageDepth
sourcefn eq(&self, other: &ImageDepth) -> bool
fn eq(&self, other: &ImageDepth) -> bool
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
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