pub struct WritingSystem<'a> { /* private fields */ }
Expand description
Script, language and associated typographic features available in a font.
Implementations§
source§impl<'a> WritingSystem<'a>
impl<'a> WritingSystem<'a>
sourcepub fn script_tag(&self) -> Tag
pub fn script_tag(&self) -> Tag
Returns the OpenType script tag for the writing system.
sourcepub fn language_tag(&self) -> Tag
pub fn language_tag(&self) -> Tag
Returns the OpenType language tag for the writing system.
Trait Implementations§
source§impl<'a> Clone for WritingSystem<'a>
impl<'a> Clone for WritingSystem<'a>
source§fn clone(&self) -> WritingSystem<'a>
fn clone(&self) -> WritingSystem<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl<'a> Copy for WritingSystem<'a>
Auto Trait Implementations§
impl<'a> Freeze for WritingSystem<'a>
impl<'a> RefUnwindSafe for WritingSystem<'a>
impl<'a> Send for WritingSystem<'a>
impl<'a> Sync for WritingSystem<'a>
impl<'a> Unpin for WritingSystem<'a>
impl<'a> UnwindSafe for WritingSystem<'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§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
)