Struct vulkanalia::vk::PushConstantRangeBuilder
source · pub struct PushConstantRangeBuilder { /* private fields */ }
Expand description
A builder for a PushConstantRange
.
Implementations§
source§impl PushConstantRangeBuilder
impl PushConstantRangeBuilder
pub fn stage_flags(self, stage_flags: ShaderStageFlags) -> Self
pub fn offset(self, offset: u32) -> Self
pub fn size(self, size: u32) -> Self
pub fn build(self) -> PushConstantRange
Trait Implementations§
source§impl Cast for PushConstantRangeBuilder
impl Cast for PushConstantRangeBuilder
§type Target = PushConstantRange
type Target = PushConstantRange
The other type this type can be used interchangeably with in FFI.
source§impl Clone for PushConstantRangeBuilder
impl Clone for PushConstantRangeBuilder
source§fn clone(&self) -> PushConstantRangeBuilder
fn clone(&self) -> PushConstantRangeBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PushConstantRangeBuilder
impl Debug for PushConstantRangeBuilder
source§impl Default for PushConstantRangeBuilder
impl Default for PushConstantRangeBuilder
source§fn default() -> PushConstantRangeBuilder
fn default() -> PushConstantRangeBuilder
Returns the “default value” for a type. Read more
source§impl Deref for PushConstantRangeBuilder
impl Deref for PushConstantRangeBuilder
source§impl DerefMut for PushConstantRangeBuilder
impl DerefMut for PushConstantRangeBuilder
impl Copy 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 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