pub enum BufferEndStrategy {
Round {
points_per_circle: usize,
},
Flat,
}Expand description
Linear endpoint policy.
Mirrors strategy::buffer::end_round and end_flat from
strategies/cartesian/buffer_end_round.hpp:55-173 and
buffer_end_flat.hpp:50-100.
Variants§
Round
Semicircular endpoint approximation.
Flat
End the buffer at the source endpoint without extension.
Trait Implementations§
Source§impl Clone for BufferEndStrategy
impl Clone for BufferEndStrategy
Source§fn clone(&self) -> BufferEndStrategy
fn clone(&self) -> BufferEndStrategy
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 BufferEndStrategy
Source§impl Debug for BufferEndStrategy
impl Debug for BufferEndStrategy
Source§impl PartialEq for BufferEndStrategy
impl PartialEq for BufferEndStrategy
impl StructuralPartialEq for BufferEndStrategy
Auto Trait Implementations§
impl Freeze for BufferEndStrategy
impl RefUnwindSafe for BufferEndStrategy
impl Send for BufferEndStrategy
impl Sync for BufferEndStrategy
impl Unpin for BufferEndStrategy
impl UnsafeUnpin for BufferEndStrategy
impl UnwindSafe for BufferEndStrategy
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