pub enum CapStyle {
Butt,
Projecting,
Round,
}Expand description
How the ends of open strokes are drawn.
Variants§
Butt
Flush with the end point.
Projecting
Squared off, extending half the line width past the end point.
Round
A semicircle around the end point.
Implementations§
Trait Implementations§
impl Copy for CapStyle
impl Eq for CapStyle
impl StructuralPartialEq for CapStyle
Auto Trait Implementations§
impl Forget for CapStyle
impl Freeze for CapStyle
impl Move for CapStyle
impl RefUnwindSafe for CapStyle
impl Send for CapStyle
impl Sync for CapStyle
impl Unpin for CapStyle
impl UnsafeUnpin for CapStyle
impl UnwindSafe for CapStyle
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