Struct allsorts::layout::ScriptTable
source · [−]pub struct ScriptTable { /* private fields */ }
Implementations
sourceimpl ScriptTable
impl ScriptTable
pub fn default_langsys_record(&self) -> Option<&LangSys>
pub fn find_langsys(
&self,
langsys_tag: u32
) -> Result<Option<&LangSys>, ParseError>
pub fn find_langsys_or_default(
&self,
opt_lang_tag: Option<u32>
) -> Result<Option<&LangSys>, ParseError>
Trait Implementations
sourceimpl<'a> ReadBinary<'a> for ScriptTable
impl<'a> ReadBinary<'a> for ScriptTable
type HostType = ScriptTable
fn read(ctxt: &mut ReadCtxt<'a>) -> Result<Self, ParseError>
Auto Trait Implementations
impl RefUnwindSafe for ScriptTable
impl Send for ScriptTable
impl Sync for ScriptTable
impl Unpin for ScriptTable
impl UnwindSafe for ScriptTable
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more