[][src]Struct gfx::pso::resource::Sampler

pub struct Sampler(_);

Sampler component.

  • init: &str = name of the sampler
  • data: Sampler

Trait Implementations

impl<'a> DataLink<'a> for Sampler[src]

type Init = &'a str

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

Attempt to link with a vertex buffer containing multiple attributes.

Attempt to link with a vertex attribute.

Attempt to link with a constant buffer.

Attempt to link with a global constant.

Attempt to link with an output render target (RTV).

Attempt to link with a depth-stencil target (DSV).

Attempt to link with a shader resource (SRV).

Attempt to link with an unordered access (UAV).

Attempt to enable scissor test.

impl<R: Resources> DataBind<R> for Sampler[src]

type Data = Sampler<R>

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

impl Eq for Sampler[src]

impl Clone for Sampler[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq<Sampler> for Sampler[src]

impl Hash for Sampler[src]

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl Debug for Sampler[src]

Auto Trait Implementations

impl Send for Sampler

impl Sync for Sampler

Blanket Implementations

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

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

type Owned = T

impl<T> From for T[src]

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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