pub struct ImageViewHandleInfoNVXBuilder<'a> { /* private fields */ }
Implementations§
Source§impl<'a> ImageViewHandleInfoNVXBuilder<'a>
impl<'a> ImageViewHandleInfoNVXBuilder<'a>
pub fn image_view(self, image_view: ImageView) -> Self
pub fn descriptor_type(self, descriptor_type: DescriptorType) -> Self
pub fn sampler(self, sampler: Sampler) -> Self
Sourcepub fn build(self) -> ImageViewHandleInfoNVX
pub fn build(self) -> ImageViewHandleInfoNVX
Calling build will discard all the lifetime information. Only call this if
necessary! Builders implement Deref
targeting their corresponding Vulkan struct,
so references to builders can be passed directly to Vulkan functions.
Trait Implementations§
Source§impl<'a> Deref for ImageViewHandleInfoNVXBuilder<'a>
impl<'a> Deref for ImageViewHandleInfoNVXBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for ImageViewHandleInfoNVXBuilder<'a>
impl<'a> RefUnwindSafe for ImageViewHandleInfoNVXBuilder<'a>
impl<'a> !Send for ImageViewHandleInfoNVXBuilder<'a>
impl<'a> !Sync for ImageViewHandleInfoNVXBuilder<'a>
impl<'a> Unpin for ImageViewHandleInfoNVXBuilder<'a>
impl<'a> UnwindSafe for ImageViewHandleInfoNVXBuilder<'a>
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