ReadBinary

Trait ReadBinary 

Source
pub trait ReadBinary {
    type HostType<'a>: Sized;

    // Required method
    fn read<'a>(
        ctxt: &mut ReadCtxt<'a>,
    ) -> Result<Self::HostType<'a>, ParseError>;
}

Required Associated Types§

Required Methods§

Source

fn read<'a>(ctxt: &mut ReadCtxt<'a>) -> Result<Self::HostType<'a>, ParseError>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl ReadBinary for Option<DeltaSetIndexMapEntry>

Implementors§

Source§

impl ReadBinary for ClassDef

Source§

impl ReadBinary for Coverage

Source§

impl ReadBinary for IndexToLocFormat

Source§

impl ReadBinary for PackedU16

Source§

impl ReadBinary for U32Base128

Source§

impl ReadBinary for BigGlyphMetrics

Source§

impl ReadBinary for SbitLineMetrics

Source§

impl ReadBinary for allsorts_subset_browser::cff::cff2::Header

Source§

impl ReadBinary for allsorts_subset_browser::cff::Header

Source§

impl ReadBinary for IndexU32

Source§

type HostType<'a> = Index<'a>

Source§

impl ReadBinary for AlternateSet

Source§

impl ReadBinary for Anchor

Source§

impl ReadBinary for ChainSubClassRule

Source§

impl ReadBinary for ChainSubClassSet

Source§

impl ReadBinary for ChainSubRule

Source§

impl ReadBinary for ChainSubRuleSet

Source§

impl ReadBinary for FeatureList

Source§

impl ReadBinary for FeatureTable

Source§

impl ReadBinary for FeatureTableSubstitutionTable<'_>

Source§

impl ReadBinary for FeatureVariations<'_>

Source§

impl ReadBinary for FeatureVariationsOwned

Source§

impl ReadBinary for GDEFTable

Source§

impl ReadBinary for LangSys

Source§

impl ReadBinary for Ligature

Source§

impl ReadBinary for LigatureSet

Source§

impl ReadBinary for ScriptList

Source§

impl ReadBinary for ScriptTable

Source§

impl ReadBinary for SequenceTable

Source§

impl ReadBinary for SubClassRule

Source§

impl ReadBinary for SubClassSet

Source§

impl ReadBinary for SubRule

Source§

impl ReadBinary for SubRuleSet

Source§

impl ReadBinary for ValueFormat

Source§

impl ReadBinary for allsorts_subset_browser::post::Header

Source§

impl ReadBinary for CompositeGlyph<'_>

Source§

impl ReadBinary for CompositeGlyphs

Source§

impl ReadBinary for HeadTable

Source§

impl ReadBinary for HheaTable

Source§

impl ReadBinary for MaxpTable

Source§

impl ReadBinary for MaxpVersion1SubTable

Source§

impl ReadBinary for AvarTable<'_>

Source§

impl ReadBinary for SegmentMap<'_>

Source§

impl ReadBinary for GvarTable<'_>

Source§

impl ReadBinary for HvarTable<'_>

Source§

impl ReadBinary for MvarTable<'_>

Source§

impl ReadBinary for ItemVariationData<'_>

Source§

impl ReadBinary for ItemVariationStore<'_>

Source§

impl ReadBinary for VariationRegionList<'_>

Source§

impl ReadBinary for Woff2Header

Source§

impl ReadBinary for WoffHeader

Source§

impl<'b> ReadBinary for CustomEncoding<'b>

Source§

impl<'b> ReadBinary for FontData<'b>

Source§

type HostType<'a> = FontData<'a>

Source§

impl<'b> ReadBinary for CmapSubtable<'b>

Source§

impl<'b> ReadBinary for Glyph<'b>

Source§

type HostType<'a> = Glyph<'a>

Source§

impl<'b> ReadBinary for CBDTTable<'b>

Source§

impl<'b> ReadBinary for CBLCTable<'b>

Source§

impl<'b> ReadBinary for CFF2<'b>

Source§

type HostType<'a> = CFF2<'a>

Source§

impl<'b> ReadBinary for CFF<'b>

Source§

type HostType<'a> = CFF<'a>

Source§

impl<'b> ReadBinary for IndexU16

Source§

type HostType<'a> = Index<'a>

Source§

impl<'b> ReadBinary for PostTable<'b>

Source§

impl<'b> ReadBinary for Cmap<'b>

Source§

type HostType<'a> = Cmap<'a>

Source§

impl<'b> ReadBinary for NameTable<'b>

Source§

impl<'b> ReadBinary for OffsetTable<'b>

Source§

impl<'b> ReadBinary for OpenTypeFont<'b>

Source§

impl<'b> ReadBinary for TTCHeader<'b>

Source§

impl<'b> ReadBinary for SvgTable<'b>

Source§

type HostType<'a> = SvgTable<'a>

Source§

impl<'b> ReadBinary for FvarAxisCount

Source§

impl<'b> ReadBinary for FvarTable<'b>

Source§

impl<'b> ReadBinary for StatTable<'b>

Source§

impl<'b> ReadBinary for Woff2Font<'b>

Source§

impl<'b> ReadBinary for WoffFont<'b>

Source§

type HostType<'a> = WoffFont<'a>

Source§

impl<'b, T: LayoutTableType> ReadBinary for ExtensionSubst<'b, T>

Source§

impl<'b, T: LayoutTableType> ReadBinary for Lookup<'b, T>

Source§

type HostType<'a> = Lookup<'a, T>

Source§

impl<T> ReadBinary for LayoutTable<T>

Source§

impl<T> ReadBinary for LookupList<T>

Source§

impl<T> ReadBinary for T
where T: ReadUnchecked,