pub enum StrokeJoin {
Miter,
Round,
Bevel,
}Expand description
The shape applied at the join between two path segments.
Variants§
Miter
A sharp corner is drawn (subject to the miter limit).
Round
A circular arc is drawn at the join.
Bevel
A flat diagonal is drawn across the join.
Trait Implementations§
Source§impl Clone for StrokeJoin
impl Clone for StrokeJoin
Source§fn clone(&self) -> StrokeJoin
fn clone(&self) -> StrokeJoin
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for StrokeJoin
Source§impl Debug for StrokeJoin
impl Debug for StrokeJoin
impl Eq for StrokeJoin
Source§impl PartialEq for StrokeJoin
impl PartialEq for StrokeJoin
Source§fn eq(&self, other: &StrokeJoin) -> bool
fn eq(&self, other: &StrokeJoin) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for StrokeJoin
Auto Trait Implementations§
impl Freeze for StrokeJoin
impl RefUnwindSafe for StrokeJoin
impl Send for StrokeJoin
impl Sync for StrokeJoin
impl Unpin for StrokeJoin
impl UnsafeUnpin for StrokeJoin
impl UnwindSafe for StrokeJoin
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