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<SpreadMethod> for SpreadMethod
impl PartialEq<SpreadMethod> 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 ==
.