pub enum PatchFill {
Stretch,
Tile,
}Expand description
How a region larger than its source is filled.
Variants§
Stretch
Scale the source to fill the region.
Tile
Repeat the source at its own size, clipping the last row and column.
Implementations§
Trait Implementations§
impl Copy for PatchFill
impl Eq for PatchFill
impl StructuralPartialEq for PatchFill
Auto Trait Implementations§
impl Freeze for PatchFill
impl RefUnwindSafe for PatchFill
impl Send for PatchFill
impl Sync for PatchFill
impl Unpin for PatchFill
impl UnsafeUnpin for PatchFill
impl UnwindSafe for PatchFill
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