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 · sourcepub fn borrow_mut(&mut self) -> &mut T
pub 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.
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more