pub enum BufferJoin {
Bevel,
Miter {
min_angle_rad: f64,
},
Round {
max_segment_angle_rad: f64,
},
}Expand description
Join (corner) style applied at vertices of the offset path.
Variants§
Bevel
Bevel — cut corners off flat.
Miter
Miter — sharp corners. min_angle_rad is the minimum interior
angle below which the join falls back to bevel.
Round
Round — corner approximated by an arc. max_segment_angle_rad
controls fineness (smaller → more segments).
Trait Implementations§
Source§impl Clone for BufferJoin
impl Clone for BufferJoin
Source§fn clone(&self) -> BufferJoin
fn clone(&self) -> BufferJoin
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 moreSource§impl Debug for BufferJoin
impl Debug for BufferJoin
impl Copy for BufferJoin
Auto Trait Implementations§
impl Freeze for BufferJoin
impl RefUnwindSafe for BufferJoin
impl Send for BufferJoin
impl Sync for BufferJoin
impl Unpin for BufferJoin
impl UnsafeUnpin for BufferJoin
impl UnwindSafe for BufferJoin
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more