pub struct PipelineLayoutDescPcRange {
pub offset: usize,
pub size: usize,
pub stages: ShaderStages,
}
Expand description
Description of a range of the push constants of a pipeline layout.
Fields
offset: usize
Offset in bytes from the start of the push constants to this range.
size: usize
Size in bytes of the range.
stages: ShaderStages
The stages which can access this range. Note that the same shader stage can’t access two different ranges.
Trait Implementations
sourceimpl Clone for PipelineLayoutDescPcRange
impl Clone for PipelineLayoutDescPcRange
sourcefn clone(&self) -> PipelineLayoutDescPcRange
fn clone(&self) -> PipelineLayoutDescPcRange
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 Debug for PipelineLayoutDescPcRange
impl Debug for PipelineLayoutDescPcRange
impl Copy for PipelineLayoutDescPcRange
Auto Trait Implementations
impl RefUnwindSafe for PipelineLayoutDescPcRange
impl Send for PipelineLayoutDescPcRange
impl Sync for PipelineLayoutDescPcRange
impl Unpin for PipelineLayoutDescPcRange
impl UnwindSafe for PipelineLayoutDescPcRange
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
sourceimpl<T> Content for T
impl<T> Content for T
sourcefn ref_from_ptr<'a>(ptr: *mut c_void, size: usize) -> Option<*mut T>
fn ref_from_ptr<'a>(ptr: *mut c_void, size: usize) -> Option<*mut T>
Builds a pointer to this type from a raw pointer.
sourcefn is_size_suitable(size: usize) -> bool
fn is_size_suitable(size: usize) -> bool
Returns true if the size is suitable to store a type like this.
sourcefn indiv_size() -> usize
fn indiv_size() -> usize
Returns the size of an individual element.