#[repr(C)]pub struct PushConstantRange {
pub stage_flags: ShaderStageFlags,
pub offset: u32,
pub size: u32,
}Expand description
Native structure VkPushConstantRange.
Fields§
§stage_flags: ShaderStageFlagsNative field stageFlags.
offset: u32Native field offset.
size: u32Native field size.
Implementations§
Source§impl PushConstantRange
impl PushConstantRange
Sourcepub fn set_stage_flags(self, value: ShaderStageFlags) -> Self
pub fn set_stage_flags(self, value: ShaderStageFlags) -> Self
Set native field stageFlags without native effects.
Sourcepub fn set_offset(self, value: u32) -> Self
pub fn set_offset(self, value: u32) -> Self
Set native field offset without native effects.
Trait Implementations§
Source§impl Clone for PushConstantRange
impl Clone for PushConstantRange
impl Copy for PushConstantRange
Auto Trait Implementations§
impl Forget for PushConstantRange
impl Freeze for PushConstantRange
impl Move for PushConstantRange
impl RefUnwindSafe for PushConstantRange
impl Send for PushConstantRange
impl Sync for PushConstantRange
impl Unpin for PushConstantRange
impl UnsafeUnpin for PushConstantRange
impl UnwindSafe for PushConstantRange
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