[go: up one dir, main page]

Struct gfx::format::I8Norm []

pub struct I8Norm(pub i8);

Methods

impl I8Norm

Convert a 2-element slice.

Convert a 3-element slice.

Convert a 4-element slice.

Convert a generic slice by transmutation.

Trait Implementations

impl PartialOrd<I8Norm> for I8Norm

impl Eq for I8Norm

impl PartialEq<I8Norm> for I8Norm

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

This method tests for !=.

impl Clone for I8Norm

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Formatted for I8Norm

Associated surface type.

Associated channel type.

Shader view type of this format.

Return the run-time value of the type.

impl From<i8> for I8Norm

Performs the conversion.

impl Hash for I8Norm

impl Ord for I8Norm

impl Copy for I8Norm

impl Debug for I8Norm

Formats the value using the given formatter.

impl Pod for I8Norm