pub enum StrokeJoin2d {
Bevel,
Round,
Miter,
}Expand description
Presentation used where two visible polyline segments meet.
Variants§
Bevel
Connect the two segment corners directly.
Round
Fill the corner with a circular join.
Miter
Extend corner edges to their intersection, bounded by the style’s miter limit and falling back to a bevel beyond it.
Trait Implementations§
Source§impl Clone for StrokeJoin2d
impl Clone for StrokeJoin2d
Source§fn clone(&self) -> StrokeJoin2d
fn clone(&self) -> StrokeJoin2d
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 StrokeJoin2d
Source§impl Debug for StrokeJoin2d
impl Debug for StrokeJoin2d
impl Eq for StrokeJoin2d
Source§impl PartialEq for StrokeJoin2d
impl PartialEq for StrokeJoin2d
impl StructuralPartialEq for StrokeJoin2d
Auto Trait Implementations§
impl Freeze for StrokeJoin2d
impl RefUnwindSafe for StrokeJoin2d
impl Send for StrokeJoin2d
impl Sync for StrokeJoin2d
impl Unpin for StrokeJoin2d
impl UnsafeUnpin for StrokeJoin2d
impl UnwindSafe for StrokeJoin2d
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.