pub struct ShapeHealth {
pub broken: usize,
pub suspect: usize,
pub findings: Vec<String>,
pub repaired: bool,
pub faceted: bool,
}Expand description
What the kernel’s checker found in a shape.
The checker sorts its findings in two: broken, where an algorithm reading the shape gets a wrong answer rather than an error, and suspect, out of order but harmless to every operation. Only broken findings ask for a repair.
Fields§
§broken: usizeFindings that make an algorithm reading the shape answer wrongly.
suspect: usizeFindings that are out of order but harmless.
findings: Vec<String>The first findings, a sentence each, broken first.
repaired: boolThe kernel’s repair has run on the shape these findings describe.
faceted: boolThe shape is a mesh converted as it is: its flat stretches are faces and its curved ones still the mesh’s facets, which a refine can rebuild on the surfaces they approximate.
Implementations§
Trait Implementations§
Source§impl Clone for ShapeHealth
impl Clone for ShapeHealth
Source§impl Debug for ShapeHealth
impl Debug for ShapeHealth
Source§impl Default for ShapeHealth
impl Default for ShapeHealth
Source§impl<'de> Deserialize<'de> for ShapeHealth
impl<'de> Deserialize<'de> for ShapeHealth
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ShapeHealth
impl PartialEq for ShapeHealth
Source§impl Serialize for ShapeHealth
impl Serialize for ShapeHealth
impl StructuralPartialEq for ShapeHealth
Auto Trait Implementations§
impl Forget for ShapeHealth
impl Freeze for ShapeHealth
impl Move for ShapeHealth
impl RefUnwindSafe for ShapeHealth
impl Send for ShapeHealth
impl Sync for ShapeHealth
impl Unpin for ShapeHealth
impl UnsafeUnpin for ShapeHealth
impl UnwindSafe for ShapeHealth
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