pub enum StrokeCap {
Butt,
Round,
Square,
}Expand description
The shape applied at the endpoints of an open sub-path.
Variants§
Butt
The stroke ends exactly at the endpoint with no extension.
Round
The stroke is extended by a half-circle at each endpoint.
Square
The stroke is extended by a half-square at each endpoint.
Trait Implementations§
impl Copy for StrokeCap
impl Eq for StrokeCap
impl StructuralPartialEq for StrokeCap
Auto Trait Implementations§
impl Freeze for StrokeCap
impl RefUnwindSafe for StrokeCap
impl Send for StrokeCap
impl Sync for StrokeCap
impl Unpin for StrokeCap
impl UnsafeUnpin for StrokeCap
impl UnwindSafe for StrokeCap
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