Struct gfx_core::format::I8Norm [] [src]

pub struct I8Norm(pub i8);

Methods

impl I8Norm

fn cast2(v: [i8; 2]) -> [I8Norm; 2]

Convert a 2-element slice.

fn cast3(v: [i8; 3]) -> [I8Norm; 3]

Convert a 3-element slice.

fn cast4(v: [i8; 4]) -> [I8Norm; 4]

Convert a 4-element slice.

fn cast_slice(slice: &[i8]) -> &[I8Norm]

Convert a generic slice by transmutation.

Trait Implementations

impl From<i8> for I8Norm

fn from(v: i8) -> I8Norm

Derived Implementations

impl Debug for I8Norm

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Clone for I8Norm

fn clone(&self) -> I8Norm

1.0.0fn clone_from(&mut self, source: &Self)

impl Copy for I8Norm

impl Hash for I8Norm

fn hash<__H: Hasher>(&self, __arg_0: &mut __H)

1.3.0fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher

impl PartialOrd for I8Norm

fn partial_cmp(&self, __arg_0: &I8Norm) -> Option<Ordering>

fn lt(&self, __arg_0: &I8Norm) -> bool

fn le(&self, __arg_0: &I8Norm) -> bool

fn gt(&self, __arg_0: &I8Norm) -> bool

fn ge(&self, __arg_0: &I8Norm) -> bool

impl PartialEq for I8Norm

fn eq(&self, __arg_0: &I8Norm) -> bool

fn ne(&self, __arg_0: &I8Norm) -> bool

impl Ord for I8Norm

fn cmp(&self, __arg_0: &I8Norm) -> Ordering

impl Eq for I8Norm