[−][src]Struct allsorts::layout::LayoutTable
Fields
opt_script_list: Option<ScriptList>
opt_feature_list: Option<FeatureList>
opt_lookup_list: Option<LookupList<T>>
Methods
impl<T> LayoutTable<T>
[src]
pub fn find_script(
&self,
script_tag: u32
) -> Result<Option<&ScriptTable>, ParseError>
[src]
&self,
script_tag: u32
) -> Result<Option<&ScriptTable>, ParseError>
pub fn find_script_or_default(
&self,
script_tag: u32
) -> Result<Option<&ScriptTable>, ParseError>
[src]
&self,
script_tag: u32
) -> Result<Option<&ScriptTable>, ParseError>
pub fn find_langsys_feature(
&self,
langsys: &LangSys,
feature_tag: u32
) -> Result<Option<&FeatureTable>, ParseError>
[src]
&self,
langsys: &LangSys,
feature_tag: u32
) -> Result<Option<&FeatureTable>, ParseError>
Trait Implementations
impl<'a, T> ReadBinary<'a> for LayoutTable<T>
[src]
Auto Trait Implementations
impl<T> Send for LayoutTable<T> where
T: Send,
T: Send,
impl<T> Sync for LayoutTable<T> where
T: Sync,
T: Sync,
impl<T> Unpin for LayoutTable<T> where
T: Unpin,
T: Unpin,
impl<T> UnwindSafe for LayoutTable<T> where
T: UnwindSafe,
T: UnwindSafe,
impl<T> RefUnwindSafe for LayoutTable<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
Blanket Implementations
impl<'a, T> ReadBinary<'a> for T where
T: ReadUnchecked<'a>,
[src]
T: ReadUnchecked<'a>,
type HostType = <T as ReadUnchecked<'a>>::HostType
fn read(
&mut ReadCtxt<'a>
) -> Result<<T as ReadBinary<'a>>::HostType, ParseError>
[src]
&mut ReadCtxt<'a>
) -> Result<<T as ReadBinary<'a>>::HostType, ParseError>
impl<'a, T> ReadBinaryDep<'a> for T where
T: ReadBinary<'a>,
[src]
T: ReadBinary<'a>,
type Args = ()
type HostType = <T as ReadBinary<'a>>::HostType
fn read_dep(
&mut ReadCtxt<'a>,
<T as ReadBinaryDep<'a>>::Args
) -> Result<<T as ReadBinaryDep<'a>>::HostType, ParseError>
[src]
&mut ReadCtxt<'a>,
<T as ReadBinaryDep<'a>>::Args
) -> Result<<T as ReadBinaryDep<'a>>::HostType, ParseError>
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,