pub struct NeighborSkinProfile {
pub cutoff_ratio: f32,
pub minimum: f32,
}Expand description
Rule for deriving a one-shot neighbour-list skin from the query cutoff.
Fields§
§cutoff_ratio: f32Fraction of the cutoff used as the preferred skin.
minimum: f32Lower bound for the derived skin, in ångströms.
Implementations§
Source§impl NeighborSkinProfile
impl NeighborSkinProfile
Sourcepub fn validate(self) -> Result<(), SpatialError>
pub fn validate(self) -> Result<(), SpatialError>
Trait Implementations§
Source§impl Clone for NeighborSkinProfile
impl Clone for NeighborSkinProfile
impl Copy for NeighborSkinProfile
Source§impl Debug for NeighborSkinProfile
impl Debug for NeighborSkinProfile
Source§impl Default for NeighborSkinProfile
impl Default for NeighborSkinProfile
Source§impl PartialEq for NeighborSkinProfile
impl PartialEq for NeighborSkinProfile
impl StructuralPartialEq for NeighborSkinProfile
Auto Trait Implementations§
impl Freeze for NeighborSkinProfile
impl RefUnwindSafe for NeighborSkinProfile
impl Send for NeighborSkinProfile
impl Sync for NeighborSkinProfile
impl Unpin for NeighborSkinProfile
impl UnsafeUnpin for NeighborSkinProfile
impl UnwindSafe for NeighborSkinProfile
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,
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