Enum usvg_tree::ImageRendering
source · pub enum ImageRendering {
OptimizeQuality,
OptimizeSpeed,
}
Expand description
An image rendering method.
image-rendering
attribute in the SVG.
Variants§
Trait Implementations§
source§impl Clone for ImageRendering
impl Clone for ImageRendering
source§fn clone(&self) -> ImageRendering
fn clone(&self) -> ImageRendering
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 ImageRendering
impl Debug for ImageRendering
source§impl Default for ImageRendering
impl Default for ImageRendering
source§impl FromStr for ImageRendering
impl FromStr for ImageRendering
source§impl PartialEq for ImageRendering
impl PartialEq for ImageRendering
source§fn eq(&self, other: &ImageRendering) -> bool
fn eq(&self, other: &ImageRendering) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ImageRendering
impl StructuralPartialEq for ImageRendering
Auto Trait Implementations§
impl RefUnwindSafe for ImageRendering
impl Send for ImageRendering
impl Sync for ImageRendering
impl Unpin for ImageRendering
impl UnwindSafe for ImageRendering
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