Enum usvg_tree::ShapeRendering
source · pub enum ShapeRendering {
OptimizeSpeed,
CrispEdges,
GeometricPrecision,
}
Expand description
A shape rendering method.
shape-rendering
attribute in the SVG.
Variants§
Implementations§
source§impl ShapeRendering
impl ShapeRendering
sourcepub fn use_shape_antialiasing(self) -> bool
pub fn use_shape_antialiasing(self) -> bool
Checks if anti-aliasing should be enabled.
Trait Implementations§
source§impl Clone for ShapeRendering
impl Clone for ShapeRendering
source§fn clone(&self) -> ShapeRendering
fn clone(&self) -> ShapeRendering
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 ShapeRendering
impl Debug for ShapeRendering
source§impl Default for ShapeRendering
impl Default for ShapeRendering
source§impl FromStr for ShapeRendering
impl FromStr for ShapeRendering
source§impl PartialEq for ShapeRendering
impl PartialEq for ShapeRendering
source§fn eq(&self, other: &ShapeRendering) -> bool
fn eq(&self, other: &ShapeRendering) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ShapeRendering
impl StructuralPartialEq for ShapeRendering
Auto Trait Implementations§
impl RefUnwindSafe for ShapeRendering
impl Send for ShapeRendering
impl Sync for ShapeRendering
impl Unpin for ShapeRendering
impl UnwindSafe for ShapeRendering
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