#[non_exhaustive]pub struct RectangleEvidence {
pub hull_vertices: usize,
pub minimal_orientations: usize,
pub error: f64,
}Expand description
What the construction did and how exact its output is.
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.hull_vertices: usizeVertices of the convex hull.
minimal_orientations: usizeDistinct orientations of least area (a square has two, a generic set one). The one returned turns its first axis least from the x-axis.
error: f64A bound on the distance between any output coordinate (of the centre or a corner) or length (a half extent) and its exact value. For an axis-aligned rectangle it is the rounding actually done, measured exactly – zero for a box with representable coordinates. Otherwise a few ulps of the largest coordinate, from normalising the axes and projecting onto them.
Trait Implementations§
Source§impl Clone for RectangleEvidence
impl Clone for RectangleEvidence
Source§fn clone(&self) -> RectangleEvidence
fn clone(&self) -> RectangleEvidence
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 RectangleEvidence
impl Debug for RectangleEvidence
Source§impl PartialEq for RectangleEvidence
impl PartialEq for RectangleEvidence
impl Copy for RectangleEvidence
impl StructuralPartialEq for RectangleEvidence
Auto Trait Implementations§
impl Freeze for RectangleEvidence
impl RefUnwindSafe for RectangleEvidence
impl Send for RectangleEvidence
impl Sync for RectangleEvidence
impl Unpin for RectangleEvidence
impl UnwindSafe for RectangleEvidence
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