[−][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 AsPixel for Pixel<Bgra, _8, Srgb>
[src]
impl AsPixel for Pixel<Rgba, _32, Float>
[src]
impl AsPixel for Pixel<R, _8, Srgb>
[src]
impl AsPixel for Pixel<Bgra, _8, Uint>
[src]
impl AsPixel for Pixel<Rgba, _8, Iscaled>
[src]
impl AsPixel for Pixel<R, _64, Int>
[src]
impl AsPixel for Pixel<Bgr, _8, Inorm>
[src]
impl AsPixel for Pixel<R, _16, Inorm>
[src]
impl AsPixel for Pixel<Rgb, _32, Int>
[src]
impl AsPixel for Pixel<Abgr, _8, Iscaled>
[src]
impl AsPixel for Pixel<Rgba, _16, Uint>
[src]
impl AsPixel for Pixel<Rg, _16, Iscaled>
[src]
impl AsPixel for Pixel<Bgra, _8, Iscaled>
[src]
impl AsPixel for Pixel<Rg, _32, Int>
[src]
impl AsPixel for Pixel<Abgr, _8, Inorm>
[src]
impl AsPixel for Pixel<Rgba, _8, Uscaled>
[src]
impl AsPixel for Pixel<Rgb, _16, Uint>
[src]
impl AsPixel for Pixel<R, _16, Uscaled>
[src]
impl AsPixel for Pixel<Rg, _16, Unorm>
[src]
impl AsPixel for Pixel<Bgr, _8, Uint>
[src]
impl AsPixel for Pixel<R, _8, Uscaled>
[src]
impl AsPixel for Pixel<Rg, _8, Int>
[src]
impl AsPixel for Pixel<Rgba, _16, Unorm>
[src]
impl AsPixel for Pixel<Rgba, _8, Unorm>
[src]
impl AsPixel for Pixel<R, _32, Int>
[src]
impl AsPixel for Pixel<Rgb, _64, Float>
[src]
impl AsPixel for Pixel<Abgr, _8, Uint>
[src]
impl AsPixel for Pixel<Abgr, _8, Uscaled>
[src]
impl AsPixel for Pixel<Rgba, _8, Uint>
[src]
impl AsPixel for Pixel<Rgba, _16, Iscaled>
[src]
impl AsPixel for Pixel<Rg, _64, Int>
[src]
impl AsPixel for Pixel<Rgba, _64, Uint>
[src]
impl AsPixel for Pixel<Rgba, _64, Float>
[src]
impl AsPixel for Pixel<Bgra, _8, Unorm>
[src]
impl AsPixel for Pixel<R, _32, Uint>
[src]
impl AsPixel for Pixel<Rgb, _16, Inorm>
[src]
impl AsPixel for Pixel<Rgb, _8, Srgb>
[src]
impl AsPixel for Pixel<Rgba, _64, Int>
[src]
impl AsPixel for Pixel<Rgba, _16, Uscaled>
[src]
impl AsPixel for Pixel<Bgr, _8, Uscaled>
[src]
impl AsPixel for Pixel<Rg, _16, Uint>
[src]
impl AsPixel for Pixel<Rg, _8, Uint>
[src]
impl AsPixel for Pixel<Bgr, _8, Int>
[src]
impl AsPixel for Pixel<Bgr, _8, Srgb>
[src]
impl AsPixel for Pixel<Rgb, _8, Unorm>
[src]
impl AsPixel for Pixel<Rg, _8, Uscaled>
[src]
impl AsPixel for Pixel<Bgr, _8, Iscaled>
[src]
impl AsPixel for Pixel<Rgb, _16, Int>
[src]
impl AsPixel for Pixel<Rgba, _8, Inorm>
[src]
impl AsPixel for Pixel<R, _8, Int>
[src]
impl AsPixel for Pixel<Rgb, _16, Iscaled>
[src]
impl AsPixel for Pixel<R, _16, Uint>
[src]
impl AsPixel for Pixel<Rg, _8, Unorm>
[src]
impl AsPixel for Pixel<Rg, _64, Uint>
[src]
impl AsPixel for Pixel<Abgr, _8, Int>
[src]
impl AsPixel for Pixel<Rgba, _32, Int>
[src]
impl AsPixel for Pixel<Bgra, _8, Int>
[src]
impl AsPixel for Pixel<R, _8, Unorm>
[src]
impl AsPixel for Pixel<Rgb, _8, Uint>
[src]
impl AsPixel for Pixel<Rg, _8, Srgb>
[src]
impl AsPixel for Pixel<Rgba, _16, Int>
[src]
impl AsPixel for Pixel<R, _16, Int>
[src]
impl AsPixel for Pixel<Rgba, _32, Uint>
[src]
impl AsPixel for Pixel<Rgba, _8, Srgb>
[src]
impl AsPixel for Pixel<Rgb, _64, Uint>
[src]
impl AsPixel for Pixel<Abgr, _8, Unorm>
[src]
impl AsPixel for Pixel<Rgb, _8, Iscaled>
[src]
impl AsPixel for Pixel<R, _8, Inorm>
[src]
impl AsPixel for Pixel<Bgr, _8, Unorm>
[src]
impl AsPixel for Pixel<R, _64, Uint>
[src]
impl AsPixel for Pixel<Rg, _16, Uscaled>
[src]
impl AsPixel for Pixel<Rgb, _8, Inorm>
[src]
impl AsPixel for Pixel<R, _32, Float>
[src]
impl AsPixel for Pixel<Bgra, _8, Inorm>
[src]
impl AsPixel for Pixel<Rg, _16, Int>
[src]
impl AsPixel for Pixel<Rg, _8, Iscaled>
[src]
impl AsPixel for Pixel<R, _8, Uint>
[src]
impl AsPixel for Pixel<Rgb, _32, Uint>
[src]
impl AsPixel for Pixel<Rg, _32, Uint>
[src]
impl AsPixel for Pixel<Rg, _16, Inorm>
[src]
impl AsPixel for Pixel<Rgb, _16, Unorm>
[src]
impl AsPixel for Pixel<Rgb, _32, Float>
[src]
impl AsPixel for Pixel<Rgb, _64, Int>
[src]
impl AsPixel for Pixel<Rgba, _16, Inorm>
[src]
impl AsPixel for Pixel<Rg, _64, Float>
[src]
impl AsPixel for Pixel<R, _8, Iscaled>
[src]
impl AsPixel for Pixel<R, _16, Unorm>
[src]
impl AsPixel for Pixel<Rg, _8, Inorm>
[src]
impl AsPixel for Pixel<Rgb, _8, Int>
[src]
impl AsPixel for Pixel<Rg, _32, Float>
[src]
impl AsPixel for Pixel<Rgb, _8, Uscaled>
[src]
impl AsPixel for Pixel<Rgba, _8, Int>
[src]
impl AsPixel for Pixel<Bgra, _8, Uscaled>
[src]
impl AsPixel for Pixel<R, _16, Iscaled>
[src]
impl AsPixel for Pixel<Rgb, _16, Uscaled>
[src]
impl AsPixel for Pixel<Abgr, _8, Srgb>
[src]
impl AsPixel for Pixel<R, _64, Float>
[src]
impl<C, S, T> Default for Pixel<C, S, T> where
C: PixelRepr<S, T>,
[src]
C: PixelRepr<S, T>,
impl<C, S, T> Copy 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>,
impl<C, S, T> Clone for Pixel<C, S, T> where
C: PixelRepr<S, T>,
[src]
C: PixelRepr<S, T>,
fn clone(&self) -> Pixel<C, S, T>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<S, T, B> From<Rgb<S, T>> for Pixel<Rgb, B, Srgb> where
B: ChannelSize,
S: RgbStandard<Space = Srgb>,
T: Component,
Srgb: ChannelRepr<B>,
<Srgb as ChannelRepr<B>>::Repr: Component,
[src]
B: ChannelSize,
S: RgbStandard<Space = Srgb>,
T: Component,
Srgb: ChannelRepr<B>,
<Srgb as ChannelRepr<B>>::Repr: Component,
impl<S, T, B> From<Alpha<Rgb<S, T>, T>> for Pixel<Rgba, B, Srgb> where
B: ChannelSize,
S: RgbStandard<Space = Srgb>,
T: Component,
Srgb: ChannelRepr<B>,
<Srgb as ChannelRepr<B>>::Repr: Component,
[src]
B: ChannelSize,
S: RgbStandard<Space = Srgb>,
T: Component,
Srgb: ChannelRepr<B>,
<Srgb as ChannelRepr<B>>::Repr: Component,
impl<S, T, B> From<Luma<S, T>> for Pixel<R, B, Float> where
B: ChannelSize,
S: LumaStandard<WhitePoint = D65>,
T: Component,
Float: ChannelRepr<B>,
<Float as ChannelRepr<B>>::Repr: Component,
[src]
B: ChannelSize,
S: LumaStandard<WhitePoint = D65>,
T: Component,
Float: ChannelRepr<B>,
<Float as ChannelRepr<B>>::Repr: Component,
impl<S, T, B> From<Alpha<Rgb<S, T>, T>> for Pixel<Rgba, B, Float> where
B: ChannelSize,
S: RgbStandard<Space = Srgb>,
T: Component,
Float: ChannelRepr<B>,
<Float as ChannelRepr<B>>::Repr: Component,
[src]
B: ChannelSize,
S: RgbStandard<Space = Srgb>,
T: Component,
Float: ChannelRepr<B>,
<Float as ChannelRepr<B>>::Repr: Component,
impl<S, T, B> From<Luma<S, T>> for Pixel<R, B, Srgb> where
B: ChannelSize,
S: LumaStandard<WhitePoint = D65>,
T: Component,
Srgb: ChannelRepr<B>,
<Srgb as ChannelRepr<B>>::Repr: Component,
[src]
B: ChannelSize,
S: LumaStandard<WhitePoint = D65>,
T: Component,
Srgb: ChannelRepr<B>,
<Srgb as ChannelRepr<B>>::Repr: Component,
impl<S, T, B> From<Alpha<Luma<S, T>, T>> for Pixel<Rg, B, Srgb> where
B: ChannelSize,
S: LumaStandard<WhitePoint = D65>,
T: Component,
Srgb: ChannelRepr<B>,
<Srgb as ChannelRepr<B>>::Repr: Component,
[src]
B: ChannelSize,
S: LumaStandard<WhitePoint = D65>,
T: Component,
Srgb: ChannelRepr<B>,
<Srgb as ChannelRepr<B>>::Repr: Component,
impl<S, T, B> From<Rgb<S, T>> for Pixel<Rgb, B, Unorm> where
B: ChannelSize,
S: RgbStandard<Space = Srgb>,
T: Component,
Unorm: ChannelRepr<B>,
<Unorm as ChannelRepr<B>>::Repr: Component,
[src]
B: ChannelSize,
S: RgbStandard<Space = Srgb>,
T: Component,
Unorm: ChannelRepr<B>,
<Unorm as ChannelRepr<B>>::Repr: Component,
impl<S, T, B> From<Alpha<Luma<S, T>, T>> for Pixel<Rg, B, Float> where
B: ChannelSize,
S: LumaStandard<WhitePoint = D65>,
T: Component,
Float: ChannelRepr<B>,
<Float as ChannelRepr<B>>::Repr: Component,
[src]
B: ChannelSize,
S: LumaStandard<WhitePoint = D65>,
T: Component,
Float: ChannelRepr<B>,
<Float as ChannelRepr<B>>::Repr: Component,
impl<S, T, B> From<Alpha<Rgb<S, T>, T>> for Pixel<Rgba, B, Unorm> where
B: ChannelSize,
S: RgbStandard<Space = Srgb>,
T: Component,
Unorm: ChannelRepr<B>,
<Unorm as ChannelRepr<B>>::Repr: Component,
[src]
B: ChannelSize,
S: RgbStandard<Space = Srgb>,
T: Component,
Unorm: ChannelRepr<B>,
<Unorm as ChannelRepr<B>>::Repr: Component,
impl<S, T, B> From<Alpha<Luma<S, T>, T>> for Pixel<Rg, B, Unorm> where
B: ChannelSize,
S: LumaStandard<WhitePoint = D65>,
T: Component,
Unorm: ChannelRepr<B>,
<Unorm as ChannelRepr<B>>::Repr: Component,
[src]
B: ChannelSize,
S: LumaStandard<WhitePoint = D65>,
T: Component,
Unorm: ChannelRepr<B>,
<Unorm as ChannelRepr<B>>::Repr: Component,
impl<S, T, B> From<Rgb<S, T>> for Pixel<Rgb, B, Float> where
B: ChannelSize,
S: RgbStandard<Space = Srgb>,
T: Component,
Float: ChannelRepr<B>,
<Float as ChannelRepr<B>>::Repr: Component,
[src]
B: ChannelSize,
S: RgbStandard<Space = Srgb>,
T: Component,
Float: ChannelRepr<B>,
<Float as ChannelRepr<B>>::Repr: Component,
impl<S, T, B> From<Luma<S, T>> for Pixel<R, B, Unorm> where
B: ChannelSize,
S: LumaStandard<WhitePoint = D65>,
T: Component,
Unorm: ChannelRepr<B>,
<Unorm as ChannelRepr<B>>::Repr: Component,
[src]
B: ChannelSize,
S: LumaStandard<WhitePoint = D65>,
T: Component,
Unorm: ChannelRepr<B>,
<Unorm as ChannelRepr<B>>::Repr: Component,
Auto Trait Implementations
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> 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> 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> 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> 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> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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,
impl<T> Supports<T> for T
[src]
impl<T> SetParameter for T
[src]
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
[src]
T: Parameter<Self>,
Sets value
as a parameter of self
.
impl<T> Erased for T
[src]
impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
D: AdaptFrom<S, Swp, Dwp, T>,
Dwp: WhitePoint,
Swp: WhitePoint,
T: Component + Float,
[src]
D: AdaptFrom<S, Swp, Dwp, T>,
Dwp: WhitePoint,
Swp: WhitePoint,
T: Component + Float,
fn adapt_into_using<M>(self, method: M) -> D where
M: TransformMatrix<Swp, Dwp, T>,
[src]
M: TransformMatrix<Swp, Dwp, T>,
fn adapt_into(self) -> D
[src]
Convert the source color to the destination color using the bradford method by default Read more