Struct ash::vk::ValidationCacheCreateInfoEXTBuilder
source · [−]#[repr(transparent)]pub struct ValidationCacheCreateInfoEXTBuilder<'a> { /* private fields */ }
Implementations
sourceimpl<'a> ValidationCacheCreateInfoEXTBuilder<'a>
impl<'a> ValidationCacheCreateInfoEXTBuilder<'a>
pub fn flags(self, flags: ValidationCacheCreateFlagsEXT) -> Self
pub fn initial_data(self, initial_data: &'a [u8]) -> Self
sourcepub fn build(self) -> ValidationCacheCreateInfoEXT
pub fn build(self) -> ValidationCacheCreateInfoEXT
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 ValidationCacheCreateInfoEXTBuilder<'a>
impl<'a> Deref for ValidationCacheCreateInfoEXTBuilder<'a>
type Target = ValidationCacheCreateInfoEXT
type Target = ValidationCacheCreateInfoEXT
The resulting type after dereferencing.
Auto Trait Implementations
impl<'a> RefUnwindSafe for ValidationCacheCreateInfoEXTBuilder<'a>
impl<'a> !Send for ValidationCacheCreateInfoEXTBuilder<'a>
impl<'a> !Sync for ValidationCacheCreateInfoEXTBuilder<'a>
impl<'a> Unpin for ValidationCacheCreateInfoEXTBuilder<'a>
impl<'a> UnwindSafe for ValidationCacheCreateInfoEXTBuilder<'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