pub enum EdgeMode {
Duplicate,
Wrap,
None,
}Expand description
Controls how pixels outside the bounds of an input image are handled.
§Reference
https://developer.mozilla.org/en-US/docs/Web/SVG/Reference/Attribute/edgeMode
Variants§
Duplicate
Extends the input image along each of its borders as necessary by duplicating the color values at the given edge of the input image.
Wrap
Extends the input image by taking the color values from the opposite edge of the image.
None
Treats pixels outside the image as transparent.
Trait Implementations§
impl Copy for EdgeMode
impl Eq for EdgeMode
impl StructuralPartialEq for EdgeMode
Auto Trait Implementations§
impl Freeze for EdgeMode
impl RefUnwindSafe for EdgeMode
impl Send for EdgeMode
impl Sync for EdgeMode
impl Unpin for EdgeMode
impl UnwindSafe for EdgeMode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.