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