pub enum LineCap {
Butt,
Round,
Square,
}Expand description
Shape of the ends of an open stroke.
Variants§
Butt
End at the endpoint without an extension.
Round
Add a semicircular end with radius half the width.
Square
Extend the end by half the width.
Trait Implementations§
impl Copy for LineCap
impl Eq for LineCap
impl StructuralPartialEq for LineCap
Auto Trait Implementations§
impl Forget for LineCap
impl Freeze for LineCap
impl Move for LineCap
impl RefUnwindSafe for LineCap
impl Send for LineCap
impl Sync for LineCap
impl Unpin for LineCap
impl UnsafeUnpin for LineCap
impl UnwindSafe for LineCap
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