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 for TextRendering
impl PartialEq 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 ==
.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§
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