Struct erupt::vk1_0::PushConstantRangeBuilder
source · #[repr(transparent)]pub struct PushConstantRangeBuilder<'a>(_, _);
Expand description
Vulkan Manual Page · Builder of PushConstantRange
Implementations
sourceimpl<'a> PushConstantRangeBuilder<'a>
impl<'a> PushConstantRangeBuilder<'a>
pub fn new() -> 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
pub fn build(self) -> PushConstantRange
Trait Implementations
sourceimpl<'a> Clone for PushConstantRangeBuilder<'a>
impl<'a> Clone for PushConstantRangeBuilder<'a>
sourcefn clone(&self) -> PushConstantRangeBuilder<'a>
fn clone(&self) -> PushConstantRangeBuilder<'a>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<'a> Debug for PushConstantRangeBuilder<'a>
impl<'a> Debug for PushConstantRangeBuilder<'a>
sourceimpl<'a> Default for PushConstantRangeBuilder<'a>
impl<'a> Default for PushConstantRangeBuilder<'a>
sourcefn default() -> PushConstantRangeBuilder<'a>
fn default() -> PushConstantRangeBuilder<'a>
Returns the “default value” for a type. Read more
sourceimpl<'a> Deref for PushConstantRangeBuilder<'a>
impl<'a> Deref for PushConstantRangeBuilder<'a>
type Target = PushConstantRange
type Target = PushConstantRange
The resulting type after dereferencing.
sourceimpl<'a> DerefMut for PushConstantRangeBuilder<'a>
impl<'a> DerefMut for PushConstantRangeBuilder<'a>
impl<'a> Copy 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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