pub struct Tessellation {
pub written: usize,
pub work: usize,
pub subdivisions: usize,
pub depth_reached: u8,
pub covered_until: f64,
pub max_error_bound: f64,
pub status: TessellationStatus,
}Expand description
Result of a valid tessellation request; see the module recipe.
Fields§
§written: usizeInitialized output prefix length; the remaining slice is unchanged.
work: usizeNumber of nodes examined, at most options.max_work.
subdivisions: usizeNumber of actual bisections, at most work.
depth_reached: u8Deepest examined node, at most options.max_depth; zero if none.
covered_until: f64End parameter of the last accepted chord; zero if none. No statement about the unprocessed remainder is implied by a saturated result.
max_error_bound: f64Maximum certified Euclidean error bound of emitted chords, at most the requested tolerance. Zero if no chord was emitted. See the module’s conservative L1 construction; this is not a measured worst deviation.
status: TessellationStatusCompletion or the first limiting resource.
Trait Implementations§
Source§impl Clone for Tessellation
impl Clone for Tessellation
Source§fn clone(&self) -> Tessellation
fn clone(&self) -> Tessellation
Returns a duplicate 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 Tessellation
impl Debug for Tessellation
Source§impl PartialEq for Tessellation
impl PartialEq for Tessellation
impl Copy for Tessellation
impl StructuralPartialEq for Tessellation
Auto Trait Implementations§
impl Freeze for Tessellation
impl RefUnwindSafe for Tessellation
impl Send for Tessellation
impl Sync for Tessellation
impl Unpin for Tessellation
impl UnwindSafe for Tessellation
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