#[repr(C)]pub struct ImageViewCreateInfo {
pub sType: StructureType,
pub pNext: *const c_void,
pub flags: ImageViewCreateFlags,
pub image: Image,
pub viewType: ImageViewType,
pub format: Format,
pub components: ComponentMapping,
pub subresourceRange: ImageSubresourceRange,
}Fields§
§sType: StructureType§pNext: *const c_void§flags: ImageViewCreateFlags§image: Image§viewType: ImageViewType§format: Format§components: ComponentMapping§subresourceRange: ImageSubresourceRangeImplementations§
Source§impl ImageViewCreateInfo
impl ImageViewCreateInfo
pub fn new() -> Self
pub fn sType(self, sType: StructureType) -> Self
pub fn pNext(self, pNext: *const c_void) -> Self
pub fn flags(self, flags: ImageViewCreateFlags) -> Self
pub fn image(self, image: Image) -> Self
pub fn viewType(self, viewType: ImageViewType) -> Self
pub fn format(self, format: Format) -> Self
pub fn components(self, components: ComponentMapping) -> Self
pub fn subresourceRange(self, subresourceRange: ImageSubresourceRange) -> Self
Trait Implementations§
Source§impl Clone for ImageViewCreateInfo
impl Clone for ImageViewCreateInfo
Source§fn clone(&self) -> ImageViewCreateInfo
fn clone(&self) -> ImageViewCreateInfo
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 ImageViewCreateInfo
impl Debug for ImageViewCreateInfo
Source§impl Default for ImageViewCreateInfo
impl Default for ImageViewCreateInfo
Source§fn default() -> ImageViewCreateInfo
fn default() -> ImageViewCreateInfo
Returns the “default value” for a type. Read more
impl Copy for ImageViewCreateInfo
Auto Trait Implementations§
impl Freeze for ImageViewCreateInfo
impl RefUnwindSafe for ImageViewCreateInfo
impl !Send for ImageViewCreateInfo
impl !Sync for ImageViewCreateInfo
impl Unpin for ImageViewCreateInfo
impl UnwindSafe for ImageViewCreateInfo
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