Struct gfx_core::handle::Sampler [−][src]
pub struct Sampler<R: Resources>(_, _);
Sampler Handle
Methods
impl<R: Resources> Sampler<R>
[src]
impl<R: Resources> Sampler<R>
pub fn get_info(&self) -> &SamplerInfo
[src]
pub fn get_info(&self) -> &SamplerInfo
Get sampler info
Trait Implementations
impl<R: Clone + Resources> Clone for Sampler<R> where
R::Sampler: Clone,
[src]
impl<R: Clone + Resources> Clone for Sampler<R> where
R::Sampler: Clone,
fn clone(&self) -> Sampler<R>
[src]
fn clone(&self) -> Sampler<R>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl<R: Debug + Resources> Debug for Sampler<R> where
R::Sampler: Debug,
[src]
impl<R: Debug + Resources> Debug for Sampler<R> where
R::Sampler: Debug,
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<R: Eq + Resources> Eq for Sampler<R> where
R::Sampler: Eq,
[src]
impl<R: Eq + Resources> Eq for Sampler<R> where
R::Sampler: Eq,
impl<R: Hash + Resources> Hash for Sampler<R> where
R::Sampler: Hash,
[src]
impl<R: Hash + Resources> Hash for Sampler<R> where
R::Sampler: Hash,
fn hash<__HR: Hasher>(&self, state: &mut __HR)
[src]
fn hash<__HR: Hasher>(&self, state: &mut __HR)
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]
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<R: PartialEq + Resources> PartialEq for Sampler<R> where
R::Sampler: PartialEq,
[src]
impl<R: PartialEq + Resources> PartialEq for Sampler<R> where
R::Sampler: PartialEq,