Enum vulkano::image::ImageAspect
source · [−]#[repr(u32)]
pub enum ImageAspect {
Color,
Depth,
Stencil,
Metadata,
Plane0,
Plane1,
Plane2,
MemoryPlane0,
MemoryPlane1,
MemoryPlane2,
}
Expand description
An individual data type within an image.
Most images have only the Color
aspect, but some may have several.
Variants
Color
Depth
Stencil
Metadata
Plane0
Plane1
Plane2
MemoryPlane0
MemoryPlane1
MemoryPlane2
Trait Implementations
sourceimpl Clone for ImageAspect
impl Clone for ImageAspect
sourcefn clone(&self) -> ImageAspect
fn clone(&self) -> ImageAspect
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 more
sourceimpl Debug for ImageAspect
impl Debug for ImageAspect
sourceimpl From<ImageAspect> for ImageAspectFlags
impl From<ImageAspect> for ImageAspectFlags
sourcefn from(val: ImageAspect) -> Self
fn from(val: ImageAspect) -> Self
Converts to this type from the input type.
sourceimpl From<ImageAspect> for ImageAspects
impl From<ImageAspect> for ImageAspects
sourcefn from(aspect: ImageAspect) -> Self
fn from(aspect: ImageAspect) -> Self
Converts to this type from the input type.
sourceimpl FromIterator<ImageAspect> for ImageAspects
impl FromIterator<ImageAspect> for ImageAspects
sourcefn from_iter<T: IntoIterator<Item = ImageAspect>>(iter: T) -> Self
fn from_iter<T: IntoIterator<Item = ImageAspect>>(iter: T) -> Self
Creates a value from an iterator. Read more
sourceimpl Hash for ImageAspect
impl Hash for ImageAspect
sourceimpl Ord for ImageAspect
impl Ord for ImageAspect
sourceimpl PartialEq<ImageAspect> for ImageAspect
impl PartialEq<ImageAspect> for ImageAspect
sourceimpl PartialOrd<ImageAspect> for ImageAspect
impl PartialOrd<ImageAspect> for ImageAspect
sourcefn partial_cmp(&self, other: &ImageAspect) -> Option<Ordering>
fn partial_cmp(&self, other: &ImageAspect) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl Copy for ImageAspect
impl Eq for ImageAspect
impl StructuralEq for ImageAspect
impl StructuralPartialEq for ImageAspect
Auto Trait Implementations
impl RefUnwindSafe for ImageAspect
impl Send for ImageAspect
impl Sync for ImageAspect
impl Unpin for ImageAspect
impl UnwindSafe for ImageAspect
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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