Struct gfx::device::handle::Sampler [] [src]

pub struct Sampler<R: Resources>(_, _);

Sampler Handle

Methods

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

fn get_info(&self) -> &SamplerInfo

Get sampler info

fn cmp_ref(&self, lhs: &Sampler<R>) -> Ordering

Compare ethe handle by the reference (not data)

Trait Implementations

impl<R: PartialEq + Resources> PartialEq for Sampler<R> where R::Sampler: PartialEq
[src]

fn eq(&self, __arg_0: &Sampler<R>) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, __arg_0: &Sampler<R>) -> bool

This method tests for !=.

impl<R: Debug + Resources> Debug for Sampler<R> where R::Sampler: Debug
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl<R: Clone + Resources> Clone for Sampler<R> where R::Sampler: Clone
[src]

fn clone(&self) -> Sampler<R>

Returns a copy of the value. Read more

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

Performs copy-assignment from source. Read more