Struct ttf_parser::opentype_layout::Script
source · pub struct Script<'a> {
pub tag: Tag,
pub default_language: Option<LanguageSystem<'a>>,
pub languages: LanguageSystemList<'a>,
}
Expand description
A Script Table.
Fields§
§tag: Tag
Script tag.
default_language: Option<LanguageSystem<'a>>
Default language.
languages: LanguageSystemList<'a>
List of supported languages, excluding the default one. Listed alphabetically.
Trait Implementations§
source§impl<'a> RecordListItem<'a> for Script<'a>
impl<'a> RecordListItem<'a> for Script<'a>
impl<'a> Copy for Script<'a>
Auto Trait Implementations§
impl<'a> Freeze for Script<'a>
impl<'a> RefUnwindSafe for Script<'a>
impl<'a> Send for Script<'a>
impl<'a> Sync for Script<'a>
impl<'a> Unpin for Script<'a>
impl<'a> UnwindSafe for Script<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)