#[non_exhaustive]pub enum ShapeRendering {
Auto,
CrispEdges,
GeometricPrecision,
OptimizeSpeed,
}Expand description
A value of shape-rendering.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Auto
auto.
CrispEdges
crispEdges.
GeometricPrecision
geometricPrecision.
OptimizeSpeed
optimizeSpeed.
Trait Implementations§
Source§impl Clone for ShapeRendering
impl Clone for ShapeRendering
Source§fn clone(&self) -> ShapeRendering
fn clone(&self) -> ShapeRendering
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 Display for ShapeRendering
impl Display for ShapeRendering
Source§impl PartialEq for ShapeRendering
impl PartialEq for ShapeRendering
impl StructuralPartialEq for ShapeRendering
Auto Trait Implementations§
impl Freeze for ShapeRendering
impl RefUnwindSafe for ShapeRendering
impl Send for ShapeRendering
impl Sync for ShapeRendering
impl Unpin for ShapeRendering
impl UnsafeUnpin 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