pub enum StrokeJoin {
Miter,
Round,
Bevel,
}Expand description
Shape produced where two stroked segments meet at a corner.
Variants§
Miter
Extend the outer edges until they meet in a sharp point.
Round
Fill the corner with a circular arc of half the stroke width.
Bevel
Cut the corner off with a straight chamfer.
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
Source§impl Default for StrokeJoin
impl Default for StrokeJoin
Source§fn default() -> StrokeJoin
fn default() -> StrokeJoin
Returns the “default value” for a type. Read more
impl Eq for StrokeJoin
Source§impl Hash for StrokeJoin
impl Hash for StrokeJoin
Source§impl PartialEq for StrokeJoin
impl PartialEq for StrokeJoin
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