Struct cavalier_contours::polyline::BooleanResultPline
source · pub struct BooleanResultPline<P>where
P: PlineCreation,{
pub pline: P,
pub subslices: Vec<BooleanPlineSlice<P::Num>>,
}
Expand description
Represents one of the polyline results from a boolean operation between two polylines.
Fields§
§pline: P
Resultant polyline.
subslices: Vec<BooleanPlineSlice<P::Num>>
Slices that were stitched together to form the pline
result. If boolean result info is not
BooleanResultInfo::Intersected this collection may be empty.
Implementations§
source§impl<P> BooleanResultPline<P>where
P: PlineCreation,
impl<P> BooleanResultPline<P>where
P: PlineCreation,
pub fn new(pline: P, subslices: Vec<BooleanPlineSlice<P::Num>>) -> Self
Trait Implementations§
source§impl<P> Clone for BooleanResultPline<P>
impl<P> Clone for BooleanResultPline<P>
source§fn clone(&self) -> BooleanResultPline<P>
fn clone(&self) -> BooleanResultPline<P>
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<P> Debug for BooleanResultPline<P>
impl<P> Debug for BooleanResultPline<P>
source§impl<P> Default for BooleanResultPline<P>
impl<P> Default for BooleanResultPline<P>
source§fn default() -> BooleanResultPline<P>
fn default() -> BooleanResultPline<P>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<P> RefUnwindSafe for BooleanResultPline<P>
impl<P> Send for BooleanResultPline<P>
impl<P> Sync for BooleanResultPline<P>
impl<P> Unpin for BooleanResultPline<P>
impl<P> UnwindSafe for BooleanResultPline<P>
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