Trait truetype::Value

source ·
pub trait Value: Sized {
    // Required method
    fn read<T>(tape: &mut T) -> Result<Self, Error>
       where T: Tape;
}
Expand description

A type that can be read.

Required Methods§

source

fn read<T>(tape: &mut T) -> Result<Self, Error>where T: Tape,

Read a value.

Implementations on Foreign Types§

source§

impl Value for u32

source§

fn read<T>(tape: &mut T) -> Result<u32, Error>where T: Tape,

source§

impl Value for [i8; 4]

source§

fn read<T>(tape: &mut T) -> Result<[i8; 4], Error>where T: Tape,

source§

impl Value for [u8; 10]

source§

fn read<T>(tape: &mut T) -> Result<[u8; 10], Error>where T: Tape,

source§

impl Value for i8

source§

fn read<T>(tape: &mut T) -> Result<i8, Error>where T: Tape,

source§

impl Value for u8

source§

fn read<T>(tape: &mut T) -> Result<u8, Error>where T: Tape,

source§

impl Value for [u8; 3]

source§

fn read<T>(tape: &mut T) -> Result<[u8; 3], Error>where T: Tape,

source§

impl Value for i16

source§

fn read<T>(tape: &mut T) -> Result<i16, Error>where T: Tape,

source§

impl Value for [u8; 4]

source§

fn read<T>(tape: &mut T) -> Result<[u8; 4], Error>where T: Tape,

source§

impl Value for i64

source§

fn read<T>(tape: &mut T) -> Result<i64, Error>where T: Tape,

source§

impl Value for i32

source§

fn read<T>(tape: &mut T) -> Result<i32, Error>where T: Tape,

source§

impl Value for u16

source§

fn read<T>(tape: &mut T) -> Result<u16, Error>where T: Tape,

Implementors§

source§

impl Value for MaximumProfile

source§

impl Value for NameID

source§

impl Value for NamingTable

source§

impl Value for PlatformID

source§

impl Value for Macintosh

source§

impl Value for Windows

source§

impl Value for PostScript

source§

impl Value for WindowsMetrics

source§

impl Value for CharacterMapping

source§

impl Value for Encoding0

source§

impl Value for Encoding4

source§

impl Value for Encoding6

source§

impl Value for Encoding12

source§

impl Value for Encoding14

source§

impl Value for truetype::character_mapping::Header

source§

impl Value for truetype::character_mapping::Record

source§

impl Value for SequentialGroup

source§

impl Value for VariationSelector

source§

impl Value for Flags

source§

impl Value for FontHeader

source§

impl Value for MacintoshFlags

source§

impl Value for Component

source§

impl Value for ComponentFlags

source§

impl Value for Glyph

source§

impl Value for PointFlags

source§

impl Value for HorizontalHeader

source§

impl Value for truetype::horizontal_metrics::Record

source§

impl Value for MaximumProfile0

source§

impl Value for MaximumProfile1

source§

impl Value for LanguageTag

source§

impl Value for NamingTable0

source§

impl Value for NamingTable1

source§

impl Value for truetype::naming_table::Record

source§

impl Value for truetype::offset_table::Header

source§

impl Value for OffsetTable

source§

impl Value for truetype::offset_table::Record

source§

impl Value for PostScript1

source§

impl Value for PostScript2

source§

impl Value for Tag

source§

impl Value for q16

source§

impl Value for q32

source§

impl Value for EmbeddingFlags

source§

impl Value for SelectionFlags

source§

impl Value for WindowsMetrics0

source§

impl Value for WindowsMetrics1

source§

impl Value for WindowsMetrics2

source§

impl Value for WindowsMetrics5