Trait webtype::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<U> Value for Directory<U>where U: Walue<'static, Parameter = u16>,

source§

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

source§

impl Value for Mark1s

source§

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

source§

impl Value for Single2

source§

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

source§

impl Value for Extension

source§

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

source§

impl Value for ChainedContext

source§

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

source§

impl Value for Caret

source§

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

source§

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

source§

impl Value for ReverseChainedContext

source§

impl Value for FontVariations

source§

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

source§

impl Value for Coverage1

source§

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

source§

impl Value for PairAdjustment2

source§

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

source§

impl Value for Context2

source§

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

source§

impl Value for Anchor2

source§

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

source§

impl Value for Ligature

source§

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

source§

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

source§

impl Value for Ligature

source§

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

source§

impl Value for Rules

source§

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

source§

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

source§

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

source§

impl Value for AxisFlags

source§

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

source§

impl Value for Caret2

source§

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

source§

impl Value for ChainedRule

source§

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

source§

impl Value for ClassRules

source§

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

source§

impl Value for MarkToBaseAttachment

source§

impl Value for Multiple

source§

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

source§

impl Value for Sequence

source§

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

source§

impl Value for Class

source§

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

source§

impl Value for Anchor3

source§

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

source§

impl Value for Rule

source§

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

source§

impl Value for CoverageRange

source§

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

source§

impl Value for Marks

source§

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

source§

impl Value for Coverage2

source§

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

source§

impl Value for ChainedClassRules

source§

impl Value for Record

source§

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

source§

impl Value for ClassRange

source§

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

source§

impl Value for Correction

source§

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

source§

impl Value for Extension

source§

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

source§

impl Value for Ligatures

source§

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

source§

impl Value for Variations

source§

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

source§

impl Value for Class2

source§

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

source§

impl Value for Single

source§

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

source§

impl Value for Attachments

source§

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

source§

impl Value for Coverage

source§

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

source§

impl Value for Mark1

source§

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

source§

impl Value for PairAdjustment1

source§

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

source§

impl Value for Header12

source§

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

source§

impl Value for SingleAdjustment2

source§

impl Value for ChainedClassRule

source§

impl Value for ChainedContext3

source§

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

source§

impl Value for SingleFlags

source§

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

source§

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

source§

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

source§

impl Value for Device

source§

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

source§

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

source§

impl Value for ChainedContext1

source§

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

source§

impl Value for Context

source§

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

source§

impl Value for Caret3

source§

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

source§

impl Value for Class1

source§

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

source§

impl Value for Alternates

source§

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

source§

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

source§

impl Value for GlyphDefinition

source§

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

source§

impl Value for Attachment

source§

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

source§

impl Value for Anchor

source§

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

source§

impl Value for Single1

source§

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

source§

impl Value for ChainedContext2

source§

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

source§

impl Value for InstanceFlags

source§

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

source§

impl Value for SequenceLookup

source§

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

source§

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

source§

impl Value for CursiveAttachment

source§

impl Value for AxisRecord

source§

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

source§

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

source§

impl Value for Variation

source§

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

source§

impl Value for Variations

source§

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

source§

impl Value for Header1

source§

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

source§

impl Value for Ligatures

source§

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

source§

impl Value for Caret1

source§

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

source§

impl Value for Context3

source§

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

source§

impl Value for Scripts

source§

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

source§

impl Value for PairAdjustment

source§

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

source§

impl Value for SingleAdjustment

source§

impl Value for Header13

source§

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

§

impl Value for Range1

§

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

§

impl Value for Range2

§

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

§

impl Value for Operations

§

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

§

impl Value for Encoding0

§

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

§

impl Value for Subroutines

§

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

§

impl Value for Encoding

§

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

§

impl Value for Range1

§

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

§

impl Value for Names

§

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

§

impl Value for Range3

§

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

§

impl Value for Index

§

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

§

impl Value for FontSet

§

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

§

impl Value for EncodingSupplemental

§

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

§

impl Value for Supplement

§

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

§

impl Value for Number

§

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

§

impl Value for Encoding1

§

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

§

impl Value for Dictionaries

§

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

§

impl Value for Header

§

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

§

impl Value for Encoding3

§

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

§

impl Value for Strings

§

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

source§

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

source§

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

source§

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

source§

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

§

impl Value for PostScript

§

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

§

impl Value for Header

§

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

§

impl Value for WindowsMetrics2

§

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

§

impl Value for CharacterMapping

§

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

§

impl Value for WindowsMetrics1

§

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

§

impl Value for NameID

§

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

§

impl Value for MaximumProfile0

§

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

§

impl Value for SelectionFlags

§

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

§

impl Value for FontHeader

§

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

§

impl Value for Windows

§

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

§

impl Value for Encoding4

§

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

§

impl Value for NamingTable1

§

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

§

impl Value for NamingTable0

§

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

§

impl Value for SequentialGroup

§

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

§

impl Value for PointFlags

§

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

§

impl Value for OffsetTable

§

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

§

impl Value for Encoding12

§

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

§

impl Value for Macintosh

§

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

§

impl Value for Encoding0

§

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

§

impl Value for q16

§

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

§

impl Value for Record

§

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

§

impl Value for Record

§

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

§

impl Value for Encoding6

§

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

§

impl Value for LanguageTag

§

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

§

impl Value for Tag

§

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

§

impl Value for NamingTable

§

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

§

impl Value for VariationSelector

§

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

§

impl Value for Glyph

§

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

§

impl Value for ComponentFlags

§

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

§

impl Value for q32

§

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

§

impl Value for WindowsMetrics5

§

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

§

impl Value for MacintoshFlags

§

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

§

impl Value for PlatformID

§

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

§

impl Value for Header

§

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

§

impl Value for MaximumProfile

§

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

§

impl Value for Flags

§

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

§

impl Value for Component

§

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

§

impl Value for Record

§

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

§

impl Value for PostScript2

§

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

§

impl Value for MaximumProfile1

§

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

§

impl Value for Record

§

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

§

impl Value for Encoding14

§

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

§

impl Value for WindowsMetrics

§

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

§

impl Value for HorizontalHeader

§

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

§

impl Value for PostScript1

§

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

§

impl Value for EmbeddingFlags

§

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

§

impl Value for WindowsMetrics0

§

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

Implementors§

source§

impl Value for Font

source§

impl Value for v32

source§

impl Value for webtype::version1::FileHeader

source§

impl Value for webtype::version2::FileHeader

source§

impl Value for webtype::version2::table_directory::Record