pub struct BoxGeometry {
pub dim: usize,
pub mean_width: f64,
pub aspect_ratio: f64,
pub widths: Vec<f64>,
}Expand description
Box geometry features used by regime selection.
Fields§
§dim: usizeDimension of the box.
mean_width: f64Mean side length.
aspect_ratio: f64max_j width_j / min_j width_j (≥ 1). Infinite sides contribute a large aspect.
widths: Vec<f64>Per-coordinate widths (finite; non-positive replaced by 1).
Trait Implementations§
Source§impl Clone for BoxGeometry
impl Clone for BoxGeometry
Source§impl Debug for BoxGeometry
impl Debug for BoxGeometry
Source§impl PartialEq for BoxGeometry
impl PartialEq for BoxGeometry
impl StructuralPartialEq for BoxGeometry
Auto Trait Implementations§
impl Forget for BoxGeometry
impl Freeze for BoxGeometry
impl RefUnwindSafe for BoxGeometry
impl Send for BoxGeometry
impl Sync for BoxGeometry
impl Unpin for BoxGeometry
impl UnsafeUnpin for BoxGeometry
impl UnwindSafe for BoxGeometry
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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