Struct wgpu::PushConstantRange[][src]

pub struct PushConstantRange {
    pub stages: ShaderStage,
    pub range: Range<u32>,

A range of push constant memory to pass to a shader stage.


stages: ShaderStage

Stage 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]

impl Debug for PushConstantRange[src]

impl<'de> Deserialize<'de> for PushConstantRange[src]

impl Eq for PushConstantRange[src]

impl Hash for PushConstantRange[src]

impl PartialEq<PushConstantRange> for PushConstantRange[src]

impl Serialize for PushConstantRange[src]

impl StructuralEq for PushConstantRange[src]

impl StructuralPartialEq for PushConstantRange[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<T> CallHasher for T where
    T: Hash

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 

impl<T> Downcast<T> for T

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Upcast<T> for T