pub enum LineCap {
Butt,
Round,
Square,
}
Expand description
Draws at the beginning and end of an open path contour.
Variants
Butt
No stroke extension.
Round
Adds circle.
Square
Adds square.
Trait Implementations
impl Copy for LineCap
impl StructuralPartialEq for LineCap
Auto Trait Implementations
impl RefUnwindSafe for LineCap
impl Send for LineCap
impl Sync for LineCap
impl Unpin for LineCap
impl UnwindSafe for LineCap
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more