pub enum Cap {
Butt,
Round,
Square,
}Expand description
Cap determines how a stroke ends at an open contour.
Variants§
Butt
Butt ends the stroke at the endpoint.
Round
Round extends the stroke with a semicircle.
Square
Square extends the stroke by half its width with a square edge.
Trait Implementations§
impl Copy for Cap
impl Eq for Cap
impl StructuralPartialEq for Cap
Auto Trait Implementations§
impl Freeze for Cap
impl RefUnwindSafe for Cap
impl Send for Cap
impl Sync for Cap
impl Unpin for Cap
impl UnsafeUnpin for Cap
impl UnwindSafe for Cap
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