Type Alias image::codecs::webp::vp8::Prob

source ·
type Prob = u8;

Trait Implementations§

source§

impl Enlargeable for u8

§

type Larger = u32

source§

fn clamp_from(n: Self::Larger) -> Self

source§

fn to_larger(self) -> Self::Larger

source§

impl FromPrimitive<f32> for u8

source§

fn from_primitive(float: f32) -> Self

Converts from any pixel component type to this type.
source§

impl FromPrimitive<u16> for u8

source§

fn from_primitive(c16: u16) -> Self

Converts from any pixel component type to this type.
source§

impl Lerp for u8

§

type Ratio = f32

source§

fn lerp(a: Self, b: Self, ratio: Self::Ratio) -> Self

source§

impl Primitive for u8

source§

const DEFAULT_MAX_VALUE: Self = 255u8

The maximum value for this type of primitive within the context of color. For floats, the maximum is 1.0, whereas the integer types inherit their usual maximum values.
source§

const DEFAULT_MIN_VALUE: Self = 0u8

The minimum value for this type of primitive within the context of color. For floats, the minimum is 0.0, whereas the integer types inherit their usual minimum values.