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 Default for ImageSubresource
impl Default for ImageSubresource
sourceimpl From<ImageInfo> for ImageSubresource
impl From<ImageInfo> for ImageSubresource
sourceimpl From<ImageSubresource> for Subresource
impl From<ImageSubresource> for Subresource
sourcefn from(subresource: ImageSubresource) -> Self
fn from(subresource: ImageSubresource) -> Self
Performs the conversion.
sourceimpl From<ImageViewInfo> for ImageSubresource
impl From<ImageViewInfo> for ImageSubresource
sourcefn from(info: ImageViewInfo) -> Self
fn from(info: ImageViewInfo) -> Self
Performs the conversion.
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 · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<R, P> ReadPrimitive<R> for P where
R: Read + ReadEndian<P>,
P: Default,
impl<R, P> ReadPrimitive<R> for P where
R: Read + ReadEndian<P>,
P: Default,
sourcefn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as ReadEndian::read_from_little_endian().
sourcefn read_from_big_endian(read: &mut R) -> Result<Self, Error>
fn read_from_big_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as ReadEndian::read_from_big_endian().
sourcefn read_from_native_endian(read: &mut R) -> Result<Self, Error>
fn read_from_native_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as ReadEndian::read_from_native_endian().
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.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub 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