#[repr(C)]pub struct VkPushConstantRange {
pub stageFlags: VkShaderStageFlags,
pub offset: u32,
pub size: u32,
}Fields§
§stageFlags: VkShaderStageFlags§offset: u32§size: u32Implementations§
Source§impl VkPushConstantRange
impl VkPushConstantRange
pub const fn new( shader_stage: VkShaderStageFlags, byte_range: Range<u32>, ) -> Self
pub const fn for_type<T>(shader_stage: VkShaderStageFlags, offset: u32) -> Self
Trait Implementations§
Source§impl Clone for VkPushConstantRange
impl Clone for VkPushConstantRange
Source§fn clone(&self) -> VkPushConstantRange
fn clone(&self) -> VkPushConstantRange
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for VkPushConstantRange
impl RefUnwindSafe for VkPushConstantRange
impl Send for VkPushConstantRange
impl Sync for VkPushConstantRange
impl Unpin for VkPushConstantRange
impl UnwindSafe for VkPushConstantRange
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