Struct allsorts_no_std::layout::LayoutTable[][src]

pub struct LayoutTable<T> {
    pub opt_script_list: Option<ScriptList>,
    pub opt_feature_list: Option<FeatureList>,
    pub opt_lookup_list: Option<LookupList<T>>,
}

Fields

opt_script_list: Option<ScriptList>opt_feature_list: Option<FeatureList>opt_lookup_list: Option<LookupList<T>>

Implementations

impl<T> LayoutTable<T>[src]

pub fn find_script(
    &self,
    script_tag: u32
) -> Result<Option<&ScriptTable>, ParseError>
[src]

pub fn find_script_or_default(
    &self,
    script_tag: u32
) -> Result<Option<&ScriptTable>, ParseError>
[src]

pub fn find_langsys_feature(
    &self,
    langsys: &LangSys,
    feature_tag: u32
) -> Result<Option<&FeatureTable>, ParseError>
[src]

pub fn feature_by_index(
    &self,
    feature_index: u16
) -> Result<&FeatureRecord, ParseError>
[src]

Trait Implementations

impl<'a, T> ReadBinary<'a> for LayoutTable<T>[src]

type HostType = Self

Auto Trait Implementations

impl<T> RefUnwindSafe for LayoutTable<T> where
    T: RefUnwindSafe

impl<T> Send for LayoutTable<T> where
    T: Send

impl<T> Sync for LayoutTable<T> where
    T: Sync

impl<T> Unpin for LayoutTable<T> where
    T: Unpin

impl<T> UnwindSafe for LayoutTable<T> where
    T: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<'a, T> ReadBinaryDep<'a> for T where
    T: ReadBinary<'a>, 
[src]

type Args = ()

type HostType = <T as ReadBinary<'a>>::HostType

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.