Struct gfx::format::U8Norm []

pub struct U8Norm(pub u8);

Methods

impl U8Norm

Convert a 2-element slice.

Convert a 3-element slice.

Convert a 4-element slice.

Convert a generic slice by transmutation.

Trait Implementations

impl Debug for U8Norm

Formats the value using the given formatter.

impl PartialOrd<U8Norm> for U8Norm

impl PartialEq<U8Norm> for U8Norm

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Formatted for U8Norm

Associated surface type.

Associated channel type.

Shader view type of this format.

Return the run-time value of the type.

impl Pod for U8Norm

impl Ord for U8Norm

impl Hash for U8Norm

impl From<u8> for U8Norm

Performs the conversion.

impl Eq for U8Norm

impl Copy for U8Norm

impl Clone for U8Norm

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more