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
Performs the conversion.
sourceimpl Hash for ImageAspect
impl Hash for ImageAspect
sourceimpl PartialEq<ImageAspect> for ImageAspect
impl PartialEq<ImageAspect> for ImageAspect
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more