Enum usvgr::SpreadMethod
source · [−]pub enum SpreadMethod {
Pad,
Reflect,
Repeat,
}Expand description
A spread method.
spreadMethod attribute in the SVG.
Variants
Pad
Reflect
Repeat
Trait Implementations
sourceimpl Clone for SpreadMethod
impl Clone for SpreadMethod
sourcefn clone(&self) -> SpreadMethod
fn clone(&self) -> SpreadMethod
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 SpreadMethod
impl Debug for SpreadMethod
sourceimpl Default for SpreadMethod
impl Default for SpreadMethod
sourceimpl PartialEq<SpreadMethod> for SpreadMethod
impl PartialEq<SpreadMethod> for SpreadMethod
sourcefn 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 ==. Read more
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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 Twhere
T: Default + PartialEq<T> + Copy,
impl<T> IsDefault for Twhere
T: Default + PartialEq<T> + Copy,
sourcefn is_default(&self) -> bool
fn is_default(&self) -> bool
Checks that type has a default value.