Struct wgpu_types::PushConstantRange [−][src]
A range of push constant memory to pass to a shader stage.
Fields
stages: ShaderStageStage push constant range is visible from. Each stage can only be served by at most one range. One range can serve multiple stages however.
range: Range<u32>Range in push constant memory to use for the stage. Must be less than Limits::max_push_constant_size.
Start and end must be aligned to the 4s.
Trait Implementations
impl Clone for PushConstantRange[src]
fn clone(&self) -> PushConstantRange[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for PushConstantRange[src]
impl Eq for PushConstantRange[src]
impl Hash for PushConstantRange[src]
fn hash<__H: Hasher>(&self, state: &mut __H)[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
H: Hasher,
impl PartialEq<PushConstantRange> for PushConstantRange[src]
fn eq(&self, other: &PushConstantRange) -> bool[src]
fn ne(&self, other: &PushConstantRange) -> bool[src]
impl StructuralEq for PushConstantRange[src]
impl StructuralPartialEq for PushConstantRange[src]
Auto Trait Implementations
impl RefUnwindSafe for PushConstantRange[src]
impl Send for PushConstantRange[src]
impl Sync for PushConstantRange[src]
impl Unpin for PushConstantRange[src]
impl UnwindSafe for PushConstantRange[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,