pub enum PaintStyle {
Fill,
Stroke(Stroke),
}Expand description
PaintStyle selects filled geometry or a stroked outline.
Variants§
Fill
Fill covers the geometry’s interior.
Stroke(Stroke)
Stroke draws the geometry’s outline with the supplied stroke parameters.
Trait Implementations§
Source§impl Clone for PaintStyle
impl Clone for PaintStyle
Source§fn clone(&self) -> PaintStyle
fn clone(&self) -> PaintStyle
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 Debug for PaintStyle
impl Debug for PaintStyle
Source§impl Default for PaintStyle
impl Default for PaintStyle
Source§fn default() -> PaintStyle
fn default() -> PaintStyle
Returns the “default value” for a type. Read more
Source§impl PartialEq for PaintStyle
impl PartialEq for PaintStyle
impl StructuralPartialEq for PaintStyle
Auto Trait Implementations§
impl Freeze for PaintStyle
impl RefUnwindSafe for PaintStyle
impl Send for PaintStyle
impl Sync for PaintStyle
impl Unpin for PaintStyle
impl UnsafeUnpin for PaintStyle
impl UnwindSafe for PaintStyle
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