Enum usvg::ImageRendering
source · [−]pub enum ImageRendering {
OptimizeQuality,
OptimizeSpeed,
}
Expand description
An image rendering method.
image-rendering
attribute in the SVG.
Variants
OptimizeQuality
OptimizeSpeed
Trait Implementations
sourceimpl Clone for ImageRendering
impl Clone for ImageRendering
sourcefn clone(&self) -> ImageRendering
fn clone(&self) -> ImageRendering
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 ImageRendering
impl Debug for ImageRendering
sourceimpl Default for ImageRendering
impl Default for ImageRendering
sourceimpl FromStr for ImageRendering
impl FromStr for ImageRendering
sourceimpl PartialEq<ImageRendering> for ImageRendering
impl PartialEq<ImageRendering> for ImageRendering
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
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.