[−][src]Struct luminance::pixel::NormRG16UI
A red and green 16-bit unsigned integral pixel format, accessed as normalized floating pixels.
Trait Implementations
impl Pixel for NormRG16UI
[src]
type Encoding = (u16, u16)
Encoding of a single pixel. It should match the PixelFormat
mapping.
type RawEncoding = u16
Raw encoding of a single pixel; i.e. that is, encoding of underlying values in contiguous texture memory, without taking into account channels. It should match the PixelFormat
mapping. Read more
type SamplerType = NormUnsigned
The type of sampler required to access this pixel format.
fn pixel_format() -> PixelFormat
[src]
impl ColorPixel for NormRG16UI
[src]
impl RenderablePixel for NormRG16UI
[src]
impl Clone for NormRG16UI
[src]
fn clone(&self) -> NormRG16UI
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for NormRG16UI
[src]
impl Debug for NormRG16UI
[src]
Auto Trait Implementations
impl Unpin for NormRG16UI
impl Sync for NormRG16UI
impl Send for NormRG16UI
impl UnwindSafe for NormRG16UI
impl RefUnwindSafe for NormRG16UI
Blanket Implementations
impl<L, D, P> ColorSlot<L, D> for P where
D: Dimensionable,
L: Layerable,
P: ColorPixel + RenderablePixel,
<D as Dimensionable>::Size: Copy,
[src]
D: Dimensionable,
L: Layerable,
P: ColorPixel + RenderablePixel,
<D as Dimensionable>::Size: Copy,
type ColorTextures = Texture<L, D, P>
Textures associated with this color slot.
fn color_formats() -> Vec<PixelFormat>
[src]
fn reify_textures<C, I>(
&mut C,
<D as Dimensionable>::Size,
usize,
&mut I
) -> <P as ColorSlot<L, D>>::ColorTextures where
C: GraphicsContext,
I: Iterator<Item = u32>,
[src]
&mut C,
<D as Dimensionable>::Size,
usize,
&mut I
) -> <P as ColorSlot<L, D>>::ColorTextures where
C: GraphicsContext,
I: Iterator<Item = u32>,
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.
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> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,