Enum usvg_tree::TextRendering
source · pub enum TextRendering {
OptimizeSpeed,
OptimizeLegibility,
GeometricPrecision,
}
Expand description
A text rendering method.
text-rendering
attribute in the SVG.
Variants§
Trait Implementations§
source§impl Clone for TextRendering
impl Clone for TextRendering
source§fn clone(&self) -> TextRendering
fn clone(&self) -> TextRendering
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 moresource§impl Debug for TextRendering
impl Debug for TextRendering
source§impl Default for TextRendering
impl Default for TextRendering
source§impl FromStr for TextRendering
impl FromStr for TextRendering
source§impl PartialEq<TextRendering> for TextRendering
impl PartialEq<TextRendering> for TextRendering
source§fn eq(&self, other: &TextRendering) -> bool
fn eq(&self, other: &TextRendering) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.