Struct cavalier_contours::polyline::SplitResult
source · pub struct SplitResult<T = f64>where
T: Real,{
pub updated_start: PlineVertex<T>,
pub split_vertex: PlineVertex<T>,
}
Expand description
Result from splitting a segment using seg_split_at_point.
Fields§
§updated_start: PlineVertex<T>
Updated start vertex (has same position as start of segment but with updated bulge value).
split_vertex: PlineVertex<T>
Vertex at split point (position is equal to split point, bulge set to maintain same curve to the next vertex).
Trait Implementations§
source§impl<T> Clone for SplitResult<T>
impl<T> Clone for SplitResult<T>
source§fn clone(&self) -> SplitResult<T>
fn clone(&self) -> SplitResult<T>
Returns a copy 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<T> Debug for SplitResult<T>
impl<T> Debug for SplitResult<T>
impl<T> Copy for SplitResult<T>
Auto Trait Implementations§
impl<T> RefUnwindSafe for SplitResult<T>where
T: RefUnwindSafe,
impl<T> Send for SplitResult<T>where
T: Send,
impl<T> Sync for SplitResult<T>where
T: Sync,
impl<T> Unpin for SplitResult<T>where
T: Unpin,
impl<T> UnwindSafe for SplitResult<T>where
T: UnwindSafe,
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