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