pub struct SplitOptions {
pub tolerance: f64,
pub snap_to_grid: bool,
pub grid_size: f64,
pub min_segment_length: f64,
pub preserve_all: bool,
}Expand description
Options for split operations
Fields§
§tolerance: f64Tolerance for coordinate comparison
snap_to_grid: boolWhether to snap split points to grid
grid_size: f64Grid size for snapping (if enabled)
min_segment_length: f64Minimum length for resulting line segments
preserve_all: boolWhether to preserve all split parts (even very small ones)
Trait Implementations§
Source§impl Clone for SplitOptions
impl Clone for SplitOptions
Source§fn clone(&self) -> SplitOptions
fn clone(&self) -> SplitOptions
Returns a duplicate of the value. Read more
1.0.0 · 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 SplitOptions
impl Debug for SplitOptions
Auto Trait Implementations§
impl Freeze for SplitOptions
impl RefUnwindSafe for SplitOptions
impl Send for SplitOptions
impl Sync for SplitOptions
impl Unpin for SplitOptions
impl UnsafeUnpin for SplitOptions
impl UnwindSafe for SplitOptions
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