#[non_exhaustive]pub enum TextRendering {
Auto,
GeometricPrecision,
OptimizeLegibility,
OptimizeSpeed,
}Expand description
A value of text-rendering.
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.
Auto
auto.
GeometricPrecision
geometricPrecision.
OptimizeLegibility
optimizeLegibility.
OptimizeSpeed
optimizeSpeed.
Trait Implementations§
Source§impl Clone for TextRendering
impl Clone for TextRendering
Source§fn clone(&self) -> TextRendering
fn clone(&self) -> TextRendering
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 TextRendering
impl Debug for TextRendering
Source§impl Display for TextRendering
impl Display for TextRendering
Source§impl PartialEq for TextRendering
impl PartialEq for TextRendering
impl StructuralPartialEq for TextRendering
Auto Trait Implementations§
impl Freeze for TextRendering
impl RefUnwindSafe for TextRendering
impl Send for TextRendering
impl Sync for TextRendering
impl Unpin for TextRendering
impl UnsafeUnpin for TextRendering
impl UnwindSafe for TextRendering
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