pub struct VkImageAspectFlags {
pub color: bool,
pub depth: bool,
pub stencil: bool,
pub metadata: bool,
pub plane_0: bool,
pub plane_1: bool,
pub plane_2: bool,
pub memory_plane_0_ext: bool,
pub memory_plane_1_ext: bool,
pub memory_plane_2_ext: bool,
pub memory_plane_3_ext: bool,
}Expand description
Wrapper for VkImageAspectFlags.
Use the macro VkImageAspectFlags! as an alternative method to create a structure. For example, these two snippets return the same value:
VkImageAspectFlags!(color, depth)VkImageAspectFlags {
color: true,
depth: true,
..VkImageAspectFlags::none()
}Fields§
§color: bool§depth: bool§stencil: bool§metadata: bool§plane_0: bool§plane_1: bool§plane_2: bool§memory_plane_0_ext: bool§memory_plane_1_ext: bool§memory_plane_2_ext: bool§memory_plane_3_ext: boolImplementations§
Trait Implementations§
Source§impl Clone for VkImageAspectFlags
impl Clone for VkImageAspectFlags
Source§fn clone(&self) -> VkImageAspectFlags
fn clone(&self) -> VkImageAspectFlags
Returns a duplicate 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 Debug for VkImageAspectFlags
impl Debug for VkImageAspectFlags
Source§impl Default for VkImageAspectFlags
impl Default for VkImageAspectFlags
Source§fn default() -> VkImageAspectFlags
fn default() -> VkImageAspectFlags
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for VkImageAspectFlags
impl RefUnwindSafe for VkImageAspectFlags
impl Send for VkImageAspectFlags
impl Sync for VkImageAspectFlags
impl Unpin for VkImageAspectFlags
impl UnwindSafe for VkImageAspectFlags
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