[][src]Struct vtkio::basic::DataParser

pub struct DataParser<BO: ByteOrder = NativeEndian>(_);

Methods

impl<BO: ByteOrder> DataParser<BO>[src]

pub fn data_buffer<T>(
    input: &[u8],
    n: usize,
    ft: FileType
) -> IResult<&[u8], IOBuffer> where
    T: FromStr + Any + Clone + Zero + FromBinary + FromAscii + Debug
[src]

Parse a set of typed numbers into an IOBuffer.

pub fn data_vec<T>(
    input: &[u8],
    n: usize,
    ft: FileType
) -> IResult<&[u8], Vec<T>> where
    T: FromStr + FromAscii + FromBinary
[src]

Parse a set of typed numbers into a Vec.

Auto Trait Implementations

impl<BO> Send for DataParser<BO> where
    BO: Send

impl<BO> Sync for DataParser<BO> where
    BO: Sync

impl<BO> Unpin for DataParser<BO> where
    BO: Unpin

impl<BO> UnwindSafe for DataParser<BO> where
    BO: UnwindSafe

impl<BO> RefUnwindSafe for DataParser<BO> where
    BO: RefUnwindSafe

Blanket Implementations

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

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

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

type Error = !

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.

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

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

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