Struct ash::vk::SpecializationInfoBuilder
source · pub struct SpecializationInfoBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'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§
source§impl<'a> Deref for SpecializationInfoBuilder<'a>
impl<'a> Deref for SpecializationInfoBuilder<'a>
Auto Trait Implementations§
impl<'a> Freeze for SpecializationInfoBuilder<'a>
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§
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