Struct ash::vk::SpecializationMapEntryBuilder
source · pub struct SpecializationMapEntryBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> SpecializationMapEntryBuilder<'a>
impl<'a> SpecializationMapEntryBuilder<'a>
pub fn constant_id(self, constant_id: u32) -> Self
pub fn offset(self, offset: u32) -> Self
pub fn size(self, size: usize) -> Self
sourcepub fn build(self) -> SpecializationMapEntry
pub fn build(self) -> SpecializationMapEntry
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 SpecializationMapEntryBuilder<'a>
impl<'a> Deref for SpecializationMapEntryBuilder<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for SpecializationMapEntryBuilder<'a>
impl<'a> Send for SpecializationMapEntryBuilder<'a>
impl<'a> Sync for SpecializationMapEntryBuilder<'a>
impl<'a> Unpin for SpecializationMapEntryBuilder<'a>
impl<'a> UnwindSafe for SpecializationMapEntryBuilder<'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