Enum usvg::TextRendering
source · [−]pub enum TextRendering {
OptimizeSpeed,
OptimizeLegibility,
GeometricPrecision,
}
Expand description
A text rendering method.
text-rendering
attribute in the SVG.
Variants
OptimizeSpeed
OptimizeLegibility
GeometricPrecision
Trait Implementations
sourceimpl Clone for TextRendering
impl Clone for TextRendering
sourcefn clone(&self) -> TextRendering
fn clone(&self) -> TextRendering
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for TextRendering
impl Debug for TextRendering
sourceimpl Default for TextRendering
impl Default for TextRendering
sourceimpl FromStr for TextRendering
impl FromStr for TextRendering
sourceimpl PartialEq<TextRendering> for TextRendering
impl PartialEq<TextRendering> for TextRendering
impl Copy for TextRendering
impl StructuralPartialEq for TextRendering
Auto Trait Implementations
impl RefUnwindSafe for TextRendering
impl Send for TextRendering
impl Sync for TextRendering
impl Unpin for TextRendering
impl UnwindSafe for TextRendering
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> IsDefault for T where
T: Default + PartialEq<T> + Copy,
impl<T> IsDefault for T where
T: Default + PartialEq<T> + Copy,
sourcefn is_default(&self) -> bool
fn is_default(&self) -> bool
Checks that type has a default value.