Trait byte_slice_cast::FromByteVec[][src]

pub unsafe trait FromByteVec where
    Self: Sized
{ fn from_byte_vec(vec: Vec<u8>) -> Result<Vec<Self>, Error>; }

Trait for converting from a byte Vec<u8> to a Vec<T> of a fundamental, built-in numeric type.

This trait is an implementation detail. Use the IntoVecOf trait.

Required methods

fn from_byte_vec(vec: Vec<u8>) -> Result<Vec<Self>, Error>[src]

Convert from a byte Vec<u8> to a Vec<T> of a fundamental, built-in numeric type

Loading content...

Implementations on Foreign Types

impl FromByteVec for u8[src]

impl FromByteVec for u16[src]

impl FromByteVec for u32[src]

impl FromByteVec for u64[src]

impl FromByteVec for u128[src]

impl FromByteVec for i8[src]

impl FromByteVec for i16[src]

impl FromByteVec for i32[src]

impl FromByteVec for i64[src]

impl FromByteVec for i128[src]

impl FromByteVec for f32[src]

impl FromByteVec for f64[src]

impl FromByteVec for usize[src]

impl FromByteVec for isize[src]

Loading content...

Implementors

Loading content...