Enum usvgr::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 EnumFromStr for TextRendering
impl EnumFromStr for TextRendering
fn enum_from_str(s: &str) -> Option<Self>
source§impl FromStr for TextRendering
impl FromStr for TextRendering
source§impl Hash for TextRendering
impl Hash 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 Eq 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 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
source§impl<'a, T> FromValue<'a> for Twhere
T: EnumFromStr,
impl<'a, T> FromValue<'a> for Twhere
T: EnumFromStr,
source§impl<T> IsDefault for T
impl<T> IsDefault for T
source§fn is_default(&self) -> bool
fn is_default(&self) -> bool
Checks that type has a default value.