pub struct PushConstantRangeBuilder { /* private fields */ }Expand description
Builder for PushConstantRange.
Implementations§
Source§impl PushConstantRangeBuilder
impl PushConstantRangeBuilder
pub fn stage_flags(self, value: ShaderStageFlagBits) -> PushConstantRangeBuilder
pub fn offset(self, value: u32) -> PushConstantRangeBuilder
pub fn size(self, value: u32) -> PushConstantRangeBuilder
Trait Implementations§
Source§impl Deref for PushConstantRangeBuilder
impl Deref for PushConstantRangeBuilder
Source§type Target = PushConstantRange
type Target = PushConstantRange
The resulting type after dereferencing.
Source§impl DerefMut for PushConstantRangeBuilder
impl DerefMut for PushConstantRangeBuilder
Auto Trait Implementations§
impl Freeze for PushConstantRangeBuilder
impl RefUnwindSafe for PushConstantRangeBuilder
impl Send for PushConstantRangeBuilder
impl Sync for PushConstantRangeBuilder
impl Unpin for PushConstantRangeBuilder
impl UnsafeUnpin for PushConstantRangeBuilder
impl UnwindSafe for PushConstantRangeBuilder
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