Struct gfx::handle::Sampler
[−]
[src]
pub struct Sampler<R>(_, _) where R: Resources;
Sampler Handle
Methods
impl<R> Sampler<R> where R: Resources
fn get_info(&self) -> &SamplerInfo
Get sampler info
Trait Implementations
impl<R> PartialEq<Sampler<R>> for Sampler<R> where R: Resources + PartialEq<R>, R::Sampler: PartialEq<R::Sampler>
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 for Sampler<R> where R: Resources + Debug, R::Sampler: Debug
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter.
impl<R> Clone for Sampler<R> where R: Resources + Clone, R::Sampler: Clone
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