Struct screen_13::driver::ImageSubresource
source · [−]pub struct ImageSubresource {
pub array_layer_count: Option<u32>,
pub aspect_mask: ImageAspectFlags,
pub base_array_layer: u32,
pub base_mip_level: u32,
pub mip_level_count: Option<u32>,
}Fields
array_layer_count: Option<u32>aspect_mask: ImageAspectFlagsbase_array_layer: u32base_mip_level: u32mip_level_count: Option<u32>Implementations
sourceimpl ImageSubresource
impl ImageSubresource
pub fn into_vk(self) -> ImageSubresourceRange
Trait Implementations
sourceimpl Clone for ImageSubresource
impl Clone for ImageSubresource
sourcefn clone(&self) -> ImageSubresource
fn clone(&self) -> ImageSubresource
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 ImageSubresource
impl Debug for ImageSubresource
sourceimpl From<ImageSubresource> for Subresource
impl From<ImageSubresource> for Subresource
sourcefn from(subresource: ImageSubresource) -> Self
fn from(subresource: ImageSubresource) -> Self
Converts to this type from the input type.
sourceimpl From<ImageViewInfo> for ImageSubresource
impl From<ImageViewInfo> for ImageSubresource
sourcefn from(info: ImageViewInfo) -> Self
fn from(info: ImageViewInfo) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<ImageSubresource> for ImageSubresource
impl PartialEq<ImageSubresource> for ImageSubresource
sourcefn 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 ==. Read more
sourcefn ne(&self, other: &ImageSubresource) -> bool
fn ne(&self, other: &ImageSubresource) -> bool
This method tests for !=.
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
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