#[repr(u32)]pub enum ImageDepth {
False = 0,
True = 1,
Unknown = 2,
}
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 = 0
Indicates that the image does not contain depth information.
True = 1
Indicates that the image contains depth information.
Unknown = 2
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§fn from(val: bool) -> ImageDepth
fn from(val: bool) -> ImageDepth
Converts to this type from the input type.
Source§impl PartialEq for ImageDepth
impl PartialEq for ImageDepth
impl Copy for ImageDepth
impl Eq for ImageDepth
impl StructuralPartialEq for ImageDepth
Auto Trait Implementations§
impl Freeze for ImageDepth
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