pub struct FillCommand<Brush = Paint> {
pub fill: Fill,
pub transform: Affine,
pub brush: Brush,
pub brush_transform: Option<Affine>,
pub shape: BezPath,
}Expand description
Fills a shape using the specified style and brush.
Fields§
§fill: Fill§transform: Affine§brush: Brush§brush_transform: Option<Affine>§shape: BezPathTrait Implementations§
Source§impl<Brush: Clone> Clone for FillCommand<Brush>
impl<Brush: Clone> Clone for FillCommand<Brush>
Source§fn clone(&self) -> FillCommand<Brush>
fn clone(&self) -> FillCommand<Brush>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<Brush: Debug> Debug for FillCommand<Brush>
impl<Brush: Debug> Debug for FillCommand<Brush>
Source§impl<Brush: PartialEq> PartialEq for FillCommand<Brush>
impl<Brush: PartialEq> PartialEq for FillCommand<Brush>
impl<Brush: PartialEq> StructuralPartialEq for FillCommand<Brush>
Auto Trait Implementations§
impl<Brush> Freeze for FillCommand<Brush>where
Brush: Freeze,
impl<Brush> RefUnwindSafe for FillCommand<Brush>where
Brush: RefUnwindSafe,
impl<Brush> Send for FillCommand<Brush>where
Brush: Send,
impl<Brush> Sync for FillCommand<Brush>where
Brush: Sync,
impl<Brush> Unpin for FillCommand<Brush>where
Brush: Unpin,
impl<Brush> UnsafeUnpin for FillCommand<Brush>where
Brush: UnsafeUnpin,
impl<Brush> UnwindSafe for FillCommand<Brush>where
Brush: UnwindSafe,
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