Struct allsorts_no_std::layout::LayoutCacheData[][src]

pub struct LayoutCacheData<T: LayoutTableType> {
    pub layout_table: LayoutTable<T>,
    pub supported_features: RefCell<BTreeMap<(u32, u32), u64>>,
    pub lookups_index: RefCell<BTreeMap<(u32, u32, u64), usize>>,
    pub cached_lookups: RefCell<Vec<Vec<(usize, u32)>>>,
    // some fields omitted
}

Fields

layout_table: LayoutTable<T>supported_features: RefCell<BTreeMap<(u32, u32), u64>>

maps (script_tag, opt_lang_tag) to GsubFeatureMask opt_lang_tag = None is represented as DFLT

lookups_index: RefCell<BTreeMap<(u32, u32, u64), usize>>

maps (script_tag, lang_tag, GsubFeatureMask) to cached_lookups index

cached_lookups: RefCell<Vec<Vec<(usize, u32)>>>

Auto Trait Implementations

impl<T> !RefUnwindSafe for LayoutCacheData<T>

impl<T> !Send for LayoutCacheData<T>

impl<T> !Sync for LayoutCacheData<T>

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

impl<T> !UnwindSafe for LayoutCacheData<T>

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<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.