#[non_exhaustive]pub struct ProjectionEvidence {
pub input_triangles: usize,
pub degenerate_triangles: usize,
pub output_polygons: usize,
pub output_holes: usize,
}Expand description
What a projection actually did.
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.input_triangles: usizeTriangles read from the source mesh.
degenerate_triangles: usizeTriangles whose projection had zero area and were dropped.
Reported rather than silently skipped: a fully edge-on mesh projects to nothing, and that is a different fact from an empty mesh.
output_polygons: usizePolygons in the resulting union.
output_holes: usizeInner boundary components across all output polygons.
Trait Implementations§
Source§impl Clone for ProjectionEvidence
impl Clone for ProjectionEvidence
Source§fn clone(&self) -> ProjectionEvidence
fn clone(&self) -> ProjectionEvidence
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 Debug for ProjectionEvidence
impl Debug for ProjectionEvidence
Source§impl PartialEq for ProjectionEvidence
impl PartialEq for ProjectionEvidence
impl Copy for ProjectionEvidence
impl Eq for ProjectionEvidence
impl StructuralPartialEq for ProjectionEvidence
Auto Trait Implementations§
impl Freeze for ProjectionEvidence
impl RefUnwindSafe for ProjectionEvidence
impl Send for ProjectionEvidence
impl Sync for ProjectionEvidence
impl Unpin for ProjectionEvidence
impl UnwindSafe for ProjectionEvidence
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more