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

pub struct I8Norm(pub i8);

Implementations

impl I8Norm[src]

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

Convert a 2-element slice.

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

Convert a 3-element slice.

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

Convert a 4-element slice.

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

Notable traits for &'_ [u8]

impl<'_> Read for &'_ [u8]impl<'_> Write for &'_ mut [u8]
[src]

Convert a generic slice by transmutation.

Trait Implementations

impl Clone for I8Norm[src]

impl Copy for I8Norm[src]

impl Debug for I8Norm[src]

impl Eq for I8Norm[src]

impl From<i8> for I8Norm[src]

impl Hash for I8Norm[src]

impl Ord for I8Norm[src]

impl PartialEq<I8Norm> for I8Norm[src]

impl PartialOrd<I8Norm> for I8Norm[src]

impl Pod for I8Norm[src]

impl StructuralEq for I8Norm[src]

impl StructuralPartialEq for I8Norm[src]

Auto Trait Implementations

impl RefUnwindSafe for I8Norm

impl Send for I8Norm

impl Sync for I8Norm

impl Unpin for I8Norm

impl UnwindSafe for I8Norm

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.