Struct gfx::format::F16 []

pub struct F16(pub u16);

Methods

impl F16

Convert a 2-element slice.

Convert a 3-element slice.

Convert a 4-element slice.

Convert a generic slice by transmutation.

Trait Implementations

impl Eq for F16

impl Ord for F16

impl PartialEq<F16> for F16

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

This method tests for !=.

impl PartialOrd<F16> for F16

impl Hash for F16

impl Copy for F16

impl Clone for F16

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for F16

Formats the value using the given formatter.

impl From<u16> for F16

Performs the conversion.

impl Formatted for F16

Associated surface type.

Associated channel type.

Shader view type of this format.

Return the run-time value of the type.