pub enum Extend {
Pad,
Repeat,
Reflect,
}
Expand description
Defines how a brush is extended when the content does not fill a shape.
Variants§
Pad
Extends the image by repeating the edge color of the brush.
Repeat
Extends the image by repeating the brush.
Reflect
Extends the image by reflecting the brush.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Extend
impl<'de> Deserialize<'de> for Extend
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for Extend
impl PartialEq for Extend
impl Copy for Extend
impl Eq for Extend
impl StructuralPartialEq for Extend
Auto Trait Implementations§
impl Freeze for Extend
impl RefUnwindSafe for Extend
impl Send for Extend
impl Sync for Extend
impl Unpin for Extend
impl UnwindSafe for Extend
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