[][src]Struct gfx::pso::buffer::Global

pub struct Global<T: ToUniform>(_, _);

Global (uniform) constant component. Describes a free-standing value passed into the shader, which is not enclosed into any constant buffer.

Trait Implementations

impl<T: ToUniform> Clone for Global<T>[src]

impl<R: Resources, T: ToUniform> DataBind<R> for Global<T>[src]

type Data = T

The associated "data" type - a member of the PSO "data" struct.

impl<'a, T: ToUniform + Default> DataLink<'a> for Global<T>[src]

type Init = &'a str

The assotiated "init" type - a member of the PSO "init" struct.

impl<T: ToUniform> Debug for Global<T>[src]

impl<T: ToUniform> Eq for Global<T>[src]

impl<T: ToUniform> Hash for Global<T>[src]

impl<T: ToUniform> PartialEq<Global<T>> for Global<T>[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for Global<T> where
    T: RefUnwindSafe

impl<T> Send for Global<T> where
    T: Send

impl<T> Sync for Global<T> where
    T: Sync

impl<T> Unpin for Global<T> where
    T: Unpin

impl<T> UnwindSafe for Global<T> where
    T: UnwindSafe

Blanket Implementations

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

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.