pub struct FillDescriptor {
pub points: Vec<Point>,
pub fill_color: Color,
pub clip_area: Option<Area>,
}
Expand description
Describes a region to be filled with a specified color.
Fields§
§points: Vec<Point>
Points the define the region of interest.
fill_color: Color
The color of the region.
clip_area: Option<Area>
Optionally clip drawing to some area.
Trait Implementations§
Source§impl Clone for FillDescriptor
impl Clone for FillDescriptor
Source§fn clone(&self) -> FillDescriptor
fn clone(&self) -> FillDescriptor
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for FillDescriptor
impl RefUnwindSafe for FillDescriptor
impl Send for FillDescriptor
impl Sync for FillDescriptor
impl Unpin for FillDescriptor
impl UnwindSafe for FillDescriptor
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