pub struct ImageViewCreateInfo<'r>(/* private fields */);Implementations§
Source§impl<'r> ImageViewCreateInfo<'r>
impl<'r> ImageViewCreateInfo<'r>
pub fn new( source: &'r (impl VkHandle<Handle = VkImage> + ?Sized), subresource_range: ImageSubresourceRange, view_type: VkImageViewType, format: VkFormat, ) -> Self
pub const unsafe fn from_raw(raw: VkImageViewCreateInfo) -> Self
pub const fn into_raw(self) -> VkImageViewCreateInfo
pub const fn with_format_mutation(self, format: VkFormat) -> Self
pub const fn with_mapping(self, mapping: VkComponentMapping) -> Self
pub const fn with_dimension(self, dimension: VkImageViewType) -> Self
Trait Implementations§
Source§impl<'r> Clone for ImageViewCreateInfo<'r>
impl<'r> Clone for ImageViewCreateInfo<'r>
Source§fn clone(&self) -> ImageViewCreateInfo<'r>
fn clone(&self) -> ImageViewCreateInfo<'r>
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 moreAuto Trait Implementations§
impl<'r> Freeze for ImageViewCreateInfo<'r>
impl<'r> !RefUnwindSafe for ImageViewCreateInfo<'r>
impl<'r> !Send for ImageViewCreateInfo<'r>
impl<'r> !Sync for ImageViewCreateInfo<'r>
impl<'r> Unpin for ImageViewCreateInfo<'r>
impl<'r> !UnwindSafe for ImageViewCreateInfo<'r>
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