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