Enum epaint::text::FontPriority
source · pub enum FontPriority {
Highest,
Lowest,
}
Variants§
Highest
Prefer this font before all existing ones.
If a desired glyph exists in this font, it will be used.
Lowest
Use this font as a fallback, after all existing ones.
This font will only be used if the glyph is not found in any of the previously installed fonts.
Trait Implementations§
source§impl Clone for FontPriority
impl Clone for FontPriority
source§fn clone(&self) -> FontPriority
fn clone(&self) -> FontPriority
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 moreAuto Trait Implementations§
impl Freeze for FontPriority
impl RefUnwindSafe for FontPriority
impl Send for FontPriority
impl Sync for FontPriority
impl Unpin for FontPriority
impl UnwindSafe for FontPriority
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
)