Struct vulkanalia::vk::ImageSubresource
source · #[repr(C)]pub struct ImageSubresource {
pub aspect_mask: ImageAspectFlags,
pub mip_level: u32,
pub array_layer: u32,
}
Expand description
Fields§
§aspect_mask: ImageAspectFlags
§mip_level: u32
§array_layer: u32
Trait Implementations§
source§impl Cast for ImageSubresource
impl Cast for ImageSubresource
§type Target = ImageSubresource
type Target = ImageSubresource
The other type this type can be used interchangeably with in FFI.
source§impl Clone for ImageSubresource
impl Clone for ImageSubresource
source§fn clone(&self) -> ImageSubresource
fn clone(&self) -> ImageSubresource
Returns a copy 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 ImageSubresource
impl Debug for ImageSubresource
source§impl Default for ImageSubresource
impl Default for ImageSubresource
source§fn default() -> ImageSubresource
fn default() -> ImageSubresource
Returns the “default value” for a type. Read more
source§impl HasBuilder<'static> for ImageSubresource
impl HasBuilder<'static> for ImageSubresource
source§impl Hash for ImageSubresource
impl Hash for ImageSubresource
source§impl PartialEq<ImageSubresource> for ImageSubresource
impl PartialEq<ImageSubresource> for ImageSubresource
source§fn eq(&self, other: &ImageSubresource) -> bool
fn eq(&self, other: &ImageSubresource) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ImageSubresource
impl Eq for ImageSubresource
impl StructuralEq for ImageSubresource
impl StructuralPartialEq for ImageSubresource
Auto Trait Implementations§
impl RefUnwindSafe for ImageSubresource
impl Send for ImageSubresource
impl Sync for ImageSubresource
impl Unpin for ImageSubresource
impl UnwindSafe for ImageSubresource
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