Struct gfx_core::pso::SamplerParam [−][src]
pub struct SamplerParam<R: Resources>(pub R::Sampler, pub Usage, pub SamplerSlot);
A sampler run-time parameter for PSO.
Trait Implementations
impl<R: Clone + Resources> Clone for SamplerParam<R> where
R::Sampler: Clone,
[src]
R::Sampler: Clone,
fn clone(&self) -> SamplerParam<R>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<R: Copy + Resources> Copy for SamplerParam<R> where
R::Sampler: Copy,
[src]
R::Sampler: Copy,
impl<R: Debug + Resources> Debug for SamplerParam<R> where
R::Sampler: Debug,
[src]
R::Sampler: Debug,
impl<R: Eq + Resources> Eq for SamplerParam<R> where
R::Sampler: Eq,
[src]
R::Sampler: Eq,
impl<R: Hash + Resources> Hash for SamplerParam<R> where
R::Sampler: Hash,
[src]
R::Sampler: Hash,
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl<R: PartialEq + Resources> PartialEq<SamplerParam<R>> for SamplerParam<R> where
R::Sampler: PartialEq,
[src]
R::Sampler: PartialEq,
fn eq(&self, other: &SamplerParam<R>) -> bool
[src]
fn ne(&self, other: &SamplerParam<R>) -> bool
[src]
impl<R: Resources> StructuralEq for SamplerParam<R>
[src]
impl<R: Resources> StructuralPartialEq for SamplerParam<R>
[src]
Auto Trait Implementations
impl<R> RefUnwindSafe for SamplerParam<R> where
<R as Resources>::Sampler: RefUnwindSafe,
<R as Resources>::Sampler: RefUnwindSafe,
impl<R> Send for SamplerParam<R>
impl<R> Sync for SamplerParam<R>
impl<R> Unpin for SamplerParam<R> where
<R as Resources>::Sampler: Unpin,
<R as Resources>::Sampler: Unpin,
impl<R> UnwindSafe for SamplerParam<R> where
<R as Resources>::Sampler: UnwindSafe,
<R as Resources>::Sampler: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,