Enum usvg_tree::PaintOrder
source · pub enum PaintOrder {
FillAndStroke,
StrokeAndFill,
}
Expand description
Representation of the paint-order
property.
usvg
will handle markers
automatically,
therefore we provide only fill
and stroke
variants.
Variants§
Trait Implementations§
source§impl Clone for PaintOrder
impl Clone for PaintOrder
source§fn clone(&self) -> PaintOrder
fn clone(&self) -> PaintOrder
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 PaintOrder
impl Debug for PaintOrder
source§impl Default for PaintOrder
impl Default for PaintOrder
source§impl PartialEq for PaintOrder
impl PartialEq for PaintOrder
source§fn eq(&self, other: &PaintOrder) -> bool
fn eq(&self, other: &PaintOrder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for PaintOrder
impl StructuralPartialEq for PaintOrder
Auto Trait Implementations§
impl RefUnwindSafe for PaintOrder
impl Send for PaintOrder
impl Sync for PaintOrder
impl Unpin for PaintOrder
impl UnwindSafe for PaintOrder
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