Struct gfx::format::U16Norm []

pub struct U16Norm(pub u16);

Methods

impl U16Norm

Convert a 2-element slice.

Convert a 3-element slice.

Convert a 4-element slice.

Convert a generic slice by transmutation.

Trait Implementations

impl PartialEq<U16Norm> for U16Norm

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

This method tests for !=.

impl From<u16> for U16Norm

Performs the conversion.

impl Formatted for U16Norm

Associated surface type.

Associated channel type.

Shader view type of this format.

Return the run-time value of the type.

impl Clone for U16Norm

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for U16Norm

impl PartialOrd<U16Norm> for U16Norm

impl Copy for U16Norm

impl Debug for U16Norm

Formats the value using the given formatter.

impl Hash for U16Norm

impl Pod for U16Norm

impl Ord for U16Norm