pub struct WorstHost {
pub product_id: u32,
pub ifc_type: String,
pub openings: u64,
pub csg_failures: u64,
pub first_failure_label: Option<String>,
pub bbox: Option<HostBbox>,
pub triangle_count: Option<u64>,
}Expand description
One of the worst-failing host elements (bounded top-N, opt-in detail).
Fields§
§product_id: u32§ifc_type: String§openings: u64§csg_failures: u64§first_failure_label: Option<String>§bbox: Option<HostBbox>World-space AABB of the host mesh, when captured by
record_host_cut_effect (opt-in per-product detail, #C1). None when
no void cut touched this host (e.g. the failure came from a
non-router CSG path).
triangle_count: Option<u64>Final triangle count of the host’s mesh: post-cut (tris_after) when a
void subtraction ran, falling back to the pre-cut count
(tris_before) when it didn’t (the un-cut host is what actually
renders in that case). None when neither was captured.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for WorstHost
impl<'de> Deserialize<'de> for WorstHost
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
Auto Trait Implementations§
impl Freeze for WorstHost
impl RefUnwindSafe for WorstHost
impl Send for WorstHost
impl Sync for WorstHost
impl Unpin for WorstHost
impl UnsafeUnpin for WorstHost
impl UnwindSafe for WorstHost
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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 moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.