Struct write_fonts::tables::layout::Script
source · pub struct Script {
pub default_lang_sys: NullableOffsetMarker<LangSys>,
pub lang_sys_records: Vec<LangSysRecord>,
}Expand description
Fields§
§default_lang_sys: NullableOffsetMarker<LangSys>Offset to default LangSys table, from beginning of Script table — may be NULL
lang_sys_records: Vec<LangSysRecord>Array of LangSysRecords, listed alphabetically by LangSys tag
Implementations§
Trait Implementations§
source§impl FontWrite for Script
impl FontWrite for Script
source§fn write_into(&self, writer: &mut TableWriter)
fn write_into(&self, writer: &mut TableWriter)
Write our data and information about offsets into this TableWriter.
Auto Trait Implementations§
impl RefUnwindSafe for Script
impl Send for Script
impl Sync for Script
impl Unpin for Script
impl UnwindSafe for Script
Blanket Implementations§
source§impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
impl<U, T> ToOwnedObj<U> for Twhere U: FromObjRef<T>,
source§fn to_owned_obj(&self, data: FontData<'_>) -> U
fn to_owned_obj(&self, data: FontData<'_>) -> U
Convert this type into
T, using the provided data to resolve any offsets.