Struct gfx::handle::Sampler
[−]
[src]
pub struct Sampler<R>(_, _)
where
R: Resources;
Sampler Handle
Methods
impl<R> Sampler<R> where
R: Resources,
[src]
R: Resources,
fn get_info(&self) -> &SamplerInfo
[src]
Get sampler info
Trait Implementations
impl<R> Hash for Sampler<R> where
R: Resources + Hash,
<R as Resources>::Sampler: Hash,
[src]
R: Resources + Hash,
<R as Resources>::Sampler: Hash,
fn hash<__HR>(&self, __arg_0: &mut __HR) where
__HR: Hasher,
[src]
__HR: Hasher,
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl<R> Clone for Sampler<R> where
R: Resources + Clone,
<R as Resources>::Sampler: Clone,
[src]
R: Resources + Clone,
<R as Resources>::Sampler: Clone,
fn clone(&self) -> Sampler<R>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<R> PartialEq<Sampler<R>> for Sampler<R> where
R: Resources + PartialEq<R>,
<R as Resources>::Sampler: PartialEq<<R as Resources>::Sampler>,
[src]
R: Resources + PartialEq<R>,
<R as Resources>::Sampler: PartialEq<<R as Resources>::Sampler>,
fn eq(&self, __arg_0: &Sampler<R>) -> bool
[src]
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
[src]
This method tests for !=
.
impl<R> Debug for Sampler<R> where
R: Resources + Debug,
<R as Resources>::Sampler: Debug,
[src]
R: Resources + Debug,
<R as Resources>::Sampler: Debug,
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
[src]
Formats the value using the given formatter.
impl<R> Eq for Sampler<R> where
R: Resources + Eq,
<R as Resources>::Sampler: Eq,
[src]
R: Resources + Eq,
<R as Resources>::Sampler: Eq,