Trait opentype::Value

source ·
pub trait Value: Sized {
    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 Index

source§

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

source§

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

source§

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

source§

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

source§

impl Value for EncodingSupplemental

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

impl Value for u16

source§

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

source§

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

source§

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

source§

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

source§

impl Value for HorizontalHeader

source§

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

source§

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

source§

impl Value for TypeFlags

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

impl Value for ContextPositioning

source§

impl Value for PairAdjustment

source§

impl Value for SingleAdjustment

source§

impl Value for ChainContextSubstitution

source§

impl Value for ContextSubstitution

source§

impl Value for SingleSubstitution

source§

impl Value for Class

source§

impl Value for Correction

source§

impl Value for Coverage

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 opentype::glyph_positioning::ChainClassRule

source§

impl Value for opentype::glyph_positioning::ChainClassRules

source§

impl Value for ChainContextPositioning1

source§

impl Value for ChainContextPositioning2

source§

impl Value for ChainContextPositioning3

source§

impl Value for opentype::glyph_positioning::ChainRule

source§

impl Value for opentype::glyph_positioning::ChainRules

source§

impl Value for opentype::glyph_positioning::ClassRule

source§

impl Value for opentype::glyph_positioning::ClassRules

source§

impl Value for ContextPositioning1

source§

impl Value for ContextPositioning2

source§

impl Value for ContextPositioning3

source§

impl Value for CursiveAttachment

source§

impl Value for ExtensionPositioning

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 Positioning

source§

impl Value for opentype::glyph_positioning::Rule

source§

impl Value for opentype::glyph_positioning::Rules

source§

impl Value for SingleAdjustment1

source§

impl Value for SingleAdjustment2

source§

impl Value for SingleFlags

source§

impl Value for AlternateSubstitution

source§

impl Value for Alternates

source§

impl Value for opentype::glyph_substitution::ChainClassRule

source§

impl Value for opentype::glyph_substitution::ChainClassRules

source§

impl Value for ChainContextSubstitution1

source§

impl Value for ChainContextSubstitution2

source§

impl Value for ChainContextSubstitution3

source§

impl Value for opentype::glyph_substitution::ChainRule

source§

impl Value for opentype::glyph_substitution::ChainRules

source§

impl Value for opentype::glyph_substitution::ClassRule

source§

impl Value for opentype::glyph_substitution::ClassRules

source§

impl Value for ContextSubstitution1

source§

impl Value for ContextSubstitution2

source§

impl Value for ContextSubstitution3

source§

impl Value for ExtensionSubstitution

source§

impl Value for opentype::glyph_substitution::Ligature

source§

impl Value for LigatureSubstitution

source§

impl Value for opentype::glyph_substitution::Ligatures

source§

impl Value for MultipleSubstitution

source§

impl Value for ReverseChainContextSubstitution

source§

impl Value for opentype::glyph_substitution::Rule

source§

impl Value for opentype::glyph_substitution::Rules

source§

impl Value for Sequence

source§

impl Value for SingleSubstitution1

source§

impl Value for SingleSubstitution2

source§

impl Value for Substitution

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::variation::item::Record

source§

impl Value for opentype::variation::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>,