[go: up one dir, main page]

Struct gfx::format::U8Norm [] [src]

pub struct U8Norm(pub u8);

Methods

impl U8Norm
[src]

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<U8Norm> for U8Norm
[src]

impl Copy for U8Norm
[src]

impl Ord for U8Norm
[src]

impl PartialEq<U8Norm> for U8Norm
[src]

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

This method tests for !=.

impl Pod for U8Norm
[src]

impl From<u8> for U8Norm
[src]

Performs the conversion.

impl Formatted for U8Norm
[src]

Associated surface type.

Associated channel type.

Shader view type of this format.

Return the run-time value of the type.

impl Eq for U8Norm
[src]

impl Hash for U8Norm
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Debug for U8Norm
[src]

Formats the value using the given formatter.

impl Clone for U8Norm
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more