#[repr(transparent)]pub struct PushConstantRangeBuilder<'a> { /* private fields */ }Implementations
sourceimpl<'a> PushConstantRangeBuilder<'a>
impl<'a> PushConstantRangeBuilder<'a>
pub fn stage_flags(
self,
stage_flags: ShaderStageFlags
) -> PushConstantRangeBuilder<'a>
pub fn offset(self, offset: u32) -> PushConstantRangeBuilder<'a>
pub fn size(self, size: u32) -> PushConstantRangeBuilder<'a>
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
sourceimpl<'a> Deref for PushConstantRangeBuilder<'a>
impl<'a> Deref for PushConstantRangeBuilder<'a>
type Target = PushConstantRange
type Target = PushConstantRange
The resulting type after dereferencing.
sourcefn deref(&self) -> &<PushConstantRangeBuilder<'a> as Deref>::Target
fn deref(&self) -> &<PushConstantRangeBuilder<'a> as Deref>::Target
Dereferences the value.
sourceimpl<'a> DerefMut for PushConstantRangeBuilder<'a>
impl<'a> DerefMut for PushConstantRangeBuilder<'a>
sourcefn deref_mut(&mut self) -> &mut <PushConstantRangeBuilder<'a> as Deref>::Target
fn deref_mut(&mut self) -> &mut <PushConstantRangeBuilder<'a> as Deref>::Target
Mutably dereferences the value.
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more