[−][src]Struct rendy_texture::pixel::Pixel
One pixel
By default deriving X adds T: X bound for all type parameters for the type.
We use derivative
here to override that.
Fields
repr: <C as PixelRepr<S, T>>::Repr
Pixel representation.
Trait Implementations
impl<C, S, T> Clone for Pixel<C, S, T> where
C: PixelRepr<S, T>,
[src]
C: PixelRepr<S, T>,
fn clone(&self) -> Self
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<C, S, T> Copy for Pixel<C, S, T> where
C: PixelRepr<S, T>,
[src]
C: PixelRepr<S, T>,
impl<C, S, T> Default for Pixel<C, S, T> where
C: PixelRepr<S, T>,
[src]
C: PixelRepr<S, T>,
impl<C, S, T> Debug for Pixel<C, S, T> where
C: PixelRepr<S, T>,
[src]
C: PixelRepr<S, T>,
Auto Trait Implementations
impl<C, S, T> Send for Pixel<C, S, T> where
<C as PixelRepr<S, T>>::Repr: Send,
<C as PixelRepr<S, T>>::Repr: Send,
impl<C, S, T> Sync for Pixel<C, S, T> where
<C as PixelRepr<S, T>>::Repr: Sync,
<C as PixelRepr<S, T>>::Repr: Sync,
impl<C, S, T> Unpin for Pixel<C, S, T> where
<C as PixelRepr<S, T>>::Repr: Unpin,
<C as PixelRepr<S, T>>::Repr: Unpin,
impl<C, S, T> UnwindSafe for Pixel<C, S, T> where
<C as PixelRepr<S, T>>::Repr: UnwindSafe,
<C as PixelRepr<S, T>>::Repr: UnwindSafe,
impl<C, S, T> RefUnwindSafe for Pixel<C, S, T> where
<C as PixelRepr<S, T>>::Repr: RefUnwindSafe,
<C as PixelRepr<S, T>>::Repr: RefUnwindSafe,
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
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.
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,