pub struct Pattern {
pub image: Image,
pub transform: Affine,
pub color: Color,
}Expand description
A pattern that can be used to fill a shape.
Fields§
§image: ImageThe image of the pattern.
transform: AffineThe transformation of the pattern.
color: ColorThe color of the pattern.
Trait Implementations§
impl StructuralPartialEq for Pattern
Auto Trait Implementations§
impl Freeze for Pattern
impl RefUnwindSafe for Pattern
impl Send for Pattern
impl Sync for Pattern
impl Unpin for Pattern
impl UnwindSafe for Pattern
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