Struct ash::vk::PushConstantRange  
source · #[repr(C)]pub struct PushConstantRange {
    pub stage_flags: ShaderStageFlags,
    pub offset: u32,
    pub size: u32,
}Expand description
Fields§
§stage_flags: ShaderStageFlags§offset: u32§size: u32Implementations§
source§impl PushConstantRange
 
impl PushConstantRange
pub fn stage_flags(self, stage_flags: ShaderStageFlags) -> Self
pub fn offset(self, offset: u32) -> Self
pub fn size(self, size: u32) -> Self
Trait Implementations§
source§impl Clone for PushConstantRange
 
impl Clone for PushConstantRange
source§fn clone(&self) -> PushConstantRange
 
fn clone(&self) -> PushConstantRange
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 PushConstantRange
 
impl Debug for PushConstantRange
source§impl Default for PushConstantRange
 
impl Default for PushConstantRange
source§fn default() -> PushConstantRange
 
fn default() -> PushConstantRange
Returns the “default value” for a type. Read more
impl Copy for PushConstantRange
Auto Trait Implementations§
impl Freeze for PushConstantRange
impl RefUnwindSafe for PushConstantRange
impl Send for PushConstantRange
impl Sync for PushConstantRange
impl Unpin 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
source§impl<T> CloneToUninit for Twhere
    T: Clone,
 
impl<T> CloneToUninit for Twhere
    T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
 
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)