Struct screen_13::driver::ImageViewInfo
source · [−]pub struct ImageViewInfo {
pub array_layer_count: Option<u32>,
pub aspect_mask: ImageAspectFlags,
pub base_array_layer: u32,
pub base_mip_level: u32,
pub fmt: Format,
pub mip_level_count: Option<u32>,
pub ty: ImageType,
}Fields
array_layer_count: Option<u32>aspect_mask: ImageAspectFlagsbase_array_layer: u32base_mip_level: u32fmt: Formatmip_level_count: Option<u32>ty: ImageTypeImplementations
sourceimpl ImageViewInfo
impl ImageViewInfo
pub fn new() -> ImageViewInfoBuilder
Trait Implementations
sourceimpl Clone for ImageViewInfo
impl Clone for ImageViewInfo
sourcefn clone(&self) -> ImageViewInfo
fn clone(&self) -> ImageViewInfo
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 ImageViewInfo
impl Debug for ImageViewInfo
sourceimpl From<ImageInfo> for ImageViewInfo
impl From<ImageInfo> for ImageViewInfo
sourceimpl From<ImageViewInfo> for ImageSubresource
impl From<ImageViewInfo> for ImageSubresource
sourcefn from(info: ImageViewInfo) -> Self
fn from(info: ImageViewInfo) -> Self
Performs the conversion.
sourceimpl From<ImageViewInfo> for ViewType
impl From<ImageViewInfo> for ViewType
sourcefn from(info: ImageViewInfo) -> Self
fn from(info: ImageViewInfo) -> Self
Performs the conversion.
sourceimpl From<ImageViewInfoBuilder> for ImageViewInfo
impl From<ImageViewInfoBuilder> for ImageViewInfo
sourcefn from(info: ImageViewInfoBuilder) -> Self
fn from(info: ImageViewInfoBuilder) -> Self
Performs the conversion.
sourceimpl Hash for ImageViewInfo
impl Hash for ImageViewInfo
sourceimpl PartialEq<ImageViewInfo> for ImageViewInfo
impl PartialEq<ImageViewInfo> for ImageViewInfo
sourcefn eq(&self, other: &ImageViewInfo) -> bool
fn eq(&self, other: &ImageViewInfo) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &ImageViewInfo) -> bool
fn ne(&self, other: &ImageViewInfo) -> bool
This method tests for !=.
impl Copy for ImageViewInfo
impl Eq for ImageViewInfo
impl StructuralEq for ImageViewInfo
impl StructuralPartialEq for ImageViewInfo
Auto Trait Implementations
impl RefUnwindSafe for ImageViewInfo
impl Send for ImageViewInfo
impl Sync for ImageViewInfo
impl Unpin for ImageViewInfo
impl UnwindSafe for ImageViewInfo
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<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