#[repr(C)]pub struct PushConstantRange {
pub stage_flags: ShaderStageFlags,
pub offset: u32,
pub size: u32,
}
Expand description
Fields§
§stage_flags: ShaderStageFlags
§offset: u32
§size: u32
Implementations§
Source§impl PushConstantRange
impl PushConstantRange
pub fn builder<'a>() -> PushConstantRangeBuilder<'a>
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 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
)