Struct vulkano::image::ImageAspects
source · [−]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
sourceimpl ImageAspects
impl ImageAspects
Trait Implementations
sourceimpl BitOr<ImageAspects> for ImageAspects
impl BitOr<ImageAspects> for ImageAspects
sourceimpl Clone for ImageAspects
impl Clone for ImageAspects
sourcefn clone(&self) -> ImageAspects
fn clone(&self) -> ImageAspects
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 ImageAspects
impl Debug for ImageAspects
sourceimpl Default for ImageAspects
impl Default for ImageAspects
sourcefn default() -> ImageAspects
fn default() -> ImageAspects
Returns the “default value” for a type. Read more
sourceimpl From<ImageAspectFlags> for ImageAspects
impl From<ImageAspectFlags> for ImageAspects
sourcefn from(val: ImageAspectFlags) -> ImageAspects
fn from(val: ImageAspectFlags) -> ImageAspects
Performs the conversion.
sourceimpl From<ImageAspects> for ImageAspectFlags
impl From<ImageAspects> for ImageAspectFlags
sourcefn from(value: ImageAspects) -> ImageAspectFlags
fn from(value: ImageAspects) -> ImageAspectFlags
Performs the conversion.
sourceimpl Hash for ImageAspects
impl Hash for ImageAspects
sourceimpl PartialEq<ImageAspects> for ImageAspects
impl PartialEq<ImageAspects> for ImageAspects
sourcefn eq(&self, other: &ImageAspects) -> bool
fn eq(&self, other: &ImageAspects) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ImageAspects) -> bool
fn ne(&self, other: &ImageAspects) -> bool
This method tests for !=
.
impl Copy for ImageAspects
impl Eq for ImageAspects
impl StructuralEq for ImageAspects
impl StructuralPartialEq for ImageAspects
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
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