pub enum Cap {
Butt,
Round,
Square,
}Expand description
How a stroked path ends.
Variants§
Butt
Ends at the endpoint.
Round
Rounded end, a disc of half the line width.
Square
Extends by half the line width.
Trait Implementations§
impl Copy for Cap
impl Eq for Cap
impl StructuralPartialEq for Cap
Auto Trait Implementations§
impl Forget for Cap
impl Freeze for Cap
impl Move 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