pub enum JoinStrategy {
Round {
points_per_circle: usize,
},
Miter,
}Expand description
How to fill the wedge at a convex corner of the offset boundary.
Mirrors strategy::buffer::join_round / join_miter
(strategies/buffer/buffer_join_round.hpp and friends).
Variants§
Round
Fill the corner with a circular arc of points_per_circle
segments. Boost’s join_round.
Miter
Extend the two offset edges until they meet at a sharp point.
Boost’s join_miter.
This compatibility spelling uses Boost’s default miter limit of
five times the buffer distance
(strategies/cartesian/buffer_join_miter.hpp:52-60). Use
BufferSettings with BufferJoinStrategy::Miter to select a
different limit.
Trait Implementations§
Source§impl Clone for JoinStrategy
impl Clone for JoinStrategy
Source§fn clone(&self) -> JoinStrategy
fn clone(&self) -> JoinStrategy
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 JoinStrategy
Source§impl Debug for JoinStrategy
impl Debug for JoinStrategy
impl Eq for JoinStrategy
Source§impl PartialEq for JoinStrategy
impl PartialEq for JoinStrategy
impl StructuralPartialEq for JoinStrategy
Auto Trait Implementations§
impl Freeze for JoinStrategy
impl RefUnwindSafe for JoinStrategy
impl Send for JoinStrategy
impl Sync for JoinStrategy
impl Unpin for JoinStrategy
impl UnsafeUnpin for JoinStrategy
impl UnwindSafe for JoinStrategy
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