pub enum Cap {
Butt,
Square,
Round,
}Expand description
How a polyline or stroke_arc ends.
Variants§
Butt
Ends exactly at the end point.
Square
Extends half the width past the end point.
Round
Semicircular end.
Trait Implementations§
impl Copy 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 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