pub enum PointStrategy {
Circle {
points_per_circle: usize,
},
Square,
}Expand description
How to approximate a buffered point.
Mirrors strategy::buffer::point_circle / point_square
(strategies/buffer/buffer_point_circle.hpp).
Variants§
Circle
Approximate the buffer disc with a regular polygon of
points_per_circle vertices. Boost’s point_circle.
Square
Approximate the buffer with an axis-aligned square. Boost’s
point_square.
Trait Implementations§
Source§impl Clone for PointStrategy
impl Clone for PointStrategy
Source§fn clone(&self) -> PointStrategy
fn clone(&self) -> PointStrategy
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 PointStrategy
Source§impl Debug for PointStrategy
impl Debug for PointStrategy
impl Eq for PointStrategy
Source§impl PartialEq for PointStrategy
impl PartialEq for PointStrategy
impl StructuralPartialEq for PointStrategy
Auto Trait Implementations§
impl Freeze for PointStrategy
impl RefUnwindSafe for PointStrategy
impl Send for PointStrategy
impl Sync for PointStrategy
impl Unpin for PointStrategy
impl UnsafeUnpin for PointStrategy
impl UnwindSafe for PointStrategy
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