Trait opentype::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 FontSet

source§

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

source§

impl Value for Header

source§

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

source§

impl Value for Dictionaries

source§

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

source§

impl Value for Range1

source§

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

source§

impl Value for Encoding3

source§

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

source§

impl Value for Range2

source§

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

source§

impl Value for Number

source§

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

source§

impl Value for EncodingSupplemental

source§

impl Value for Subroutines

source§

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

source§

impl Value for Encoding1

source§

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

source§

impl Value for Strings

source§

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

source§

impl Value for Index

source§

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

source§

impl Value for Encoding0

source§

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

source§

impl Value for Operations

source§

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

source§

impl Value for Range3

source§

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

source§

impl Value for Supplement

source§

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

source§

impl Value for Range1

source§

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

source§

impl Value for Encoding

source§

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

source§

impl Value for Names

source§

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

source§

impl Value for u32

source§

fn read<T>(tape: &mut T) -> Result<u32, 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 u16

source§

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

source§

impl<U, V> Value for (U, V)where U: Value, V: Value,

source§

fn read<T>(tape: &mut T) -> Result<(U, V), 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; 10]

source§

fn read<T>(tape: &mut T) -> Result<[u8; 10], 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 [i8; 4]

source§

fn read<T>(tape: &mut T) -> Result<[i8; 4], 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 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 i64

source§

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

source§

impl Value for WindowsMetrics

source§

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

source§

impl Value for NamingTable

source§

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

source§

impl Value for MaximumProfile0

source§

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

source§

impl Value for Glyph

source§

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

source§

impl Value for Windows

source§

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

source§

impl Value for Macintosh

source§

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

source§

impl Value for Record

source§

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

source§

impl Value for ComponentFlags

source§

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

source§

impl Value for Encoding14

source§

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

source§

impl Value for Component

source§

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

source§

impl Value for Record

source§

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

source§

impl Value for WindowsMetrics0

source§

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

source§

impl Value for VariationSelector

source§

impl Value for EmbeddingFlags

source§

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

source§

impl Value for NameID

source§

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

source§

impl Value for Encoding12

source§

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

source§

impl Value for q16

source§

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

source§

impl Value for FontHeader

source§

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

source§

impl Value for PlatformID

source§

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

source§

impl Value for Encoding0

source§

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

source§

impl Value for PostScript

source§

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

source§

impl Value for CharacterMapping

source§

impl Value for LanguageTag

source§

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

source§

impl Value for WindowsMetrics5

source§

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

source§

impl Value for WindowsMetrics2

source§

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

source§

impl Value for MaximumProfile1

source§

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

source§

impl Value for Tag

source§

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

source§

impl Value for WindowsMetrics1

source§

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

source§

impl Value for OffsetTable

source§

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

source§

impl Value for NamingTable0

source§

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

source§

impl Value for PointFlags

source§

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

source§

impl Value for SelectionFlags

source§

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

source§

impl Value for q32

source§

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

source§

impl Value for PostScript1

source§

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

source§

impl Value for MacintoshFlags

source§

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

source§

impl Value for HorizontalHeader

source§

impl Value for Header

source§

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

source§

impl Value for Record

source§

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

source§

impl Value for Flags

source§

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

source§

impl Value for Header

source§

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

source§

impl Value for PostScript2

source§

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

source§

impl Value for Encoding4

source§

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

source§

impl Value for Encoding6

source§

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

source§

impl Value for NamingTable1

source§

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

source§

impl Value for SequentialGroup

source§

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

source§

impl Value for MaximumProfile

source§

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

source§

impl Value for Record

source§

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

Implementors§

source§

impl Value for Caret

source§

impl Value for opentype::glyph_definition::Header

source§

impl Value for Anchor

source§

impl Value for PairAdjustment

source§

impl Value for SingleAdjustment

source§

impl Value for Single

source§

impl Value for ChainedContext

source§

impl Value for Context

source§

impl Value for Class

source§

impl Value for Correction

source§

impl Value for Coverage

source§

impl Value for AxisFlags

source§

impl Value for AxisRecord

source§

impl Value for FontVariations

source§

impl Value for opentype::font_variations::Header

source§

impl Value for InstanceFlags

source§

impl Value for Attachment

source§

impl Value for Attachments

source§

impl Value for Caret1

source§

impl Value for Caret2

source§

impl Value for Caret3

source§

impl Value for GlyphDefinition

source§

impl Value for Header1

source§

impl Value for Header12

source§

impl Value for Header13

source§

impl Value for opentype::glyph_definition::Ligature

source§

impl Value for opentype::glyph_definition::Ligatures

source§

impl Value for Marks

source§

impl Value for Anchor1

source§

impl Value for Anchor2

source§

impl Value for Anchor3

source§

impl Value for CursiveAttachment

source§

impl Value for opentype::glyph_positioning::Extension

source§

impl Value for Mark1

source§

impl Value for Mark1s

source§

impl Value for MarkToBaseAttachment

source§

impl Value for MarkToLigatureAttachment

source§

impl Value for MarkToMarkAttachment

source§

impl Value for PairAdjustment1

source§

impl Value for PairAdjustment2

source§

impl Value for SingleAdjustment1

source§

impl Value for SingleAdjustment2

source§

impl Value for SingleFlags

source§

impl Value for Alternate

source§

impl Value for Alternates

source§

impl Value for opentype::glyph_substitution::Extension

source§

impl Value for opentype::glyph_substitution::Ligature

source§

impl Value for opentype::glyph_substitution::Ligatures

source§

impl Value for Multiple

source§

impl Value for ReverseChainedContext

source§

impl Value for Sequence

source§

impl Value for Single1

source§

impl Value for Single2

source§

impl Value for ChainedClassRule

source§

impl Value for ChainedClassRules

source§

impl Value for ChainedContext1

source§

impl Value for ChainedContext2

source§

impl Value for ChainedContext3

source§

impl Value for ChainedRule

source§

impl Value for ChainedRules

source§

impl Value for ClassRule

source§

impl Value for ClassRules

source§

impl Value for Context1

source§

impl Value for Context2

source§

impl Value for Context3

source§

impl Value for Rule

source§

impl Value for Rules

source§

impl Value for SequenceLookup

source§

impl Value for Features

source§

impl Value for opentype::layout::feature::Header

source§

impl Value for opentype::layout::feature::Record

source§

impl Value for opentype::layout::feature::Variations

source§

impl Value for opentype::layout::lookup::Flags

source§

impl Value for opentype::layout::script::Header

source§

impl Value for LanguageHeader

source§

impl Value for LanguageRecord

source§

impl Value for opentype::layout::script::Record

source§

impl Value for Scripts

source§

impl Value for Class1

source§

impl Value for Class2

source§

impl Value for ClassRange

source§

impl Value for Coverage1

source§

impl Value for Coverage2

source§

impl Value for CoverageRange

source§

impl Value for Device

source§

impl Value for Variation

source§

impl Value for Font

source§

impl Value for opentype::variations::item::Record

source§

impl Value for opentype::variations::item::Variations

source§

impl<U> Value for Lookups<U>where U: Walue<'static, Parameter = u16>,

source§

impl<U> Value for opentype::layout::lookup::Record<U>where U: Walue<'static, Parameter = u16>,

source§

impl<U> Value for Directory<U>where U: Walue<'static, Parameter = u16>,