Trait ttf_parser::parser::FromSlice[][src]

pub trait FromSlice<'a>: Sized {
    fn parse(data: &'a [u8]) -> Option<Self>;
}
Expand description

A trait for parsing raw binary data of variable size.

This is a low-level, internal trait that should not be used directly.

Required methods

Parses an object from a raw data.

Implementors