Struct vulkano::image::ImageAspects [−][src]
pub struct ImageAspects {
pub color: bool,
pub depth: bool,
pub stencil: bool,
pub metadata: bool,
pub plane0: bool,
pub plane1: bool,
pub plane2: bool,
pub memory_plane0: bool,
pub memory_plane1: bool,
pub memory_plane2: bool,
}
Expand description
A mask specifying one or more ImageAspect
s.
Fields
color: bool
depth: bool
stencil: bool
metadata: bool
plane0: bool
plane1: bool
plane2: bool
memory_plane0: bool
memory_plane1: bool
memory_plane2: bool
Implementations
Builds an ImageAspect
with all values set to false. Useful as a default value.
Trait Implementations
Returns the “default value” for a type. Read more
Performs the conversion.
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ImageAspects
impl Send for ImageAspects
impl Sync for ImageAspects
impl Unpin for ImageAspects
impl UnwindSafe for ImageAspects
Blanket Implementations
Mutably borrows from an owned value. Read more
Builds a pointer to this type from a raw pointer.
Returns true if the size is suitable to store a type like this.
Returns the size of an individual element.