#[non_exhaustive]#[repr(i32)]pub enum PenLineJoin {
Miter = 0,
Bevel = 1,
Round = 2,
}Expand description
How the vertices of a shape are joined. Ordinals mirror
Noesis::PenLineJoin.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Miter = 0
Regular angular (mitered) vertices.
Bevel = 1
Beveled vertices.
Round = 2
Rounded vertices.
Trait Implementations§
Source§impl Clone for PenLineJoin
impl Clone for PenLineJoin
Source§fn clone(&self) -> PenLineJoin
fn clone(&self) -> PenLineJoin
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 PenLineJoin
Source§impl Debug for PenLineJoin
impl Debug for PenLineJoin
impl Eq for PenLineJoin
Source§impl PartialEq for PenLineJoin
impl PartialEq for PenLineJoin
Source§fn eq(&self, other: &PenLineJoin) -> bool
fn eq(&self, other: &PenLineJoin) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PenLineJoin
Auto Trait Implementations§
impl Freeze for PenLineJoin
impl RefUnwindSafe for PenLineJoin
impl Send for PenLineJoin
impl Sync for PenLineJoin
impl Unpin for PenLineJoin
impl UnsafeUnpin for PenLineJoin
impl UnwindSafe for PenLineJoin
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