#[non_exhaustive]pub enum FontRegion {
Korean,
Japanese,
SimplifiedChinese,
TraditionalChinese,
Cyrillic,
Latin,
Unknown,
}Expand description
Writing system/locale region used to decide fallback priority.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for FontRegion
impl Clone for FontRegion
Source§fn clone(&self) -> FontRegion
fn clone(&self) -> FontRegion
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FontRegion
impl Debug for FontRegion
Source§impl PartialEq for FontRegion
impl PartialEq for FontRegion
Source§fn eq(&self, other: &FontRegion) -> bool
fn eq(&self, other: &FontRegion) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for FontRegion
impl Eq for FontRegion
impl StructuralPartialEq for FontRegion
Auto Trait Implementations§
impl Freeze for FontRegion
impl RefUnwindSafe for FontRegion
impl Send for FontRegion
impl Sync for FontRegion
impl Unpin for FontRegion
impl UnsafeUnpin for FontRegion
impl UnwindSafe for FontRegion
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