#[non_exhaustive]pub struct InPlaneRegion {
pub side: InPlaneSide,
pub outer: Vec<Point2>,
pub holes: Vec<Vec<Point2>>,
}Expand description
A planar region of the section lying in the cutting plane.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.side: InPlaneSideThe side of the plane the material lies on.
outer: Vec<Point2>Counter-clockwise outer ring.
holes: Vec<Vec<Point2>>Clockwise hole rings.
Implementations§
Trait Implementations§
Source§impl Clone for InPlaneRegion
impl Clone for InPlaneRegion
Source§fn clone(&self) -> InPlaneRegion
fn clone(&self) -> InPlaneRegion
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 moreSource§impl Debug for InPlaneRegion
impl Debug for InPlaneRegion
Source§impl PartialEq for InPlaneRegion
impl PartialEq for InPlaneRegion
impl StructuralPartialEq for InPlaneRegion
Auto Trait Implementations§
impl Freeze for InPlaneRegion
impl RefUnwindSafe for InPlaneRegion
impl Send for InPlaneRegion
impl Sync for InPlaneRegion
impl Unpin for InPlaneRegion
impl UnsafeUnpin for InPlaneRegion
impl UnwindSafe for InPlaneRegion
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