Struct ash::vk::ImageViewHandleInfoNVXBuilder
source · [−]#[repr(transparent)]pub struct ImageViewHandleInfoNVXBuilder<'a> { /* private fields */ }
Implementations
sourceimpl<'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
sourceimpl<'a> Deref for ImageViewHandleInfoNVXBuilder<'a>
impl<'a> Deref for ImageViewHandleInfoNVXBuilder<'a>
type Target = ImageViewHandleInfoNVX
type Target = ImageViewHandleInfoNVX
The resulting type after dereferencing.
Auto Trait Implementations
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
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