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