pub struct SectionEvidence {
pub source: SectionSource,
pub source_triangles: usize,
pub output_vertices: usize,
pub output_contours: usize,
}Expand description
Auditable counts for one section operation.
Fields§
§source: SectionSourceApproximation source.
source_triangles: usizeSource triangles inspected.
output_vertices: usizeOutput contour vertices.
output_contours: usizeOutput contours.
Implementations§
Source§impl SectionEvidence
impl SectionEvidence
Sourcepub const fn input_mesh(
source_triangles: usize,
output_vertices: usize,
output_contours: usize,
) -> Self
pub const fn input_mesh( source_triangles: usize, output_vertices: usize, output_contours: usize, ) -> Self
Record evidence for a section derived from the input mesh.
Sourcepub const fn is_derived_from_input_mesh(self) -> bool
pub const fn is_derived_from_input_mesh(self) -> bool
Whether this result came from the discrete input mesh.
Trait Implementations§
Source§impl Clone for SectionEvidence
impl Clone for SectionEvidence
Source§fn clone(&self) -> SectionEvidence
fn clone(&self) -> SectionEvidence
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 SectionEvidence
impl Debug for SectionEvidence
Source§impl PartialEq for SectionEvidence
impl PartialEq for SectionEvidence
impl Copy for SectionEvidence
impl Eq for SectionEvidence
impl StructuralPartialEq for SectionEvidence
Auto Trait Implementations§
impl Freeze for SectionEvidence
impl RefUnwindSafe for SectionEvidence
impl Send for SectionEvidence
impl Sync for SectionEvidence
impl Unpin for SectionEvidence
impl UnwindSafe for SectionEvidence
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