pub struct ShapeEvidence {
pub solid_cells: usize,
pub exact_volume_m3: f64,
pub represented_volume_m3: f64,
pub volume_error_m3: f64,
pub narrowest_fluid_passage_cells: Option<usize>,
}Expand description
Discretization of one box or polygon prism, independent of flow acceptance.
Fields§
§solid_cells: usizeNumber of contained solid cell centers.
exact_volume_m3: f64Analytic shape volume in m3 (overlaps counted separately).
represented_volume_m3: f64Contained cell count times uniform cell volume.
volume_error_m3: f64Represented minus exact volume in m3.
narrowest_fluid_passage_cells: Option<usize>Narrowest horizontal fluid run from this shape to any other solid. Null when no such bounded run is represented.
Trait Implementations§
Source§impl Clone for ShapeEvidence
impl Clone for ShapeEvidence
Source§impl Debug for ShapeEvidence
impl Debug for ShapeEvidence
Source§impl<'de> Deserialize<'de> for ShapeEvidence
impl<'de> Deserialize<'de> for ShapeEvidence
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 Forget for ShapeEvidence
impl Freeze for ShapeEvidence
impl Move for ShapeEvidence
impl RefUnwindSafe for ShapeEvidence
impl Send for ShapeEvidence
impl Sync for ShapeEvidence
impl Unpin for ShapeEvidence
impl UnsafeUnpin for ShapeEvidence
impl UnwindSafe for ShapeEvidence
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 more