pub struct OenRobinson { /* private fields */ }Expand description
Oen-Robinson model. stopping is the impact-averaged value; use
OenRobinson::local_loss for the per-collision loss.
Implementations§
Source§impl OenRobinson
impl OenRobinson
Sourcepub fn local_loss(
&self,
ion: &Ion,
target_z: u8,
energy_ev: f64,
r_min_m: f64,
) -> Result<f64, StoppingError>
pub fn local_loss( &self, ion: &Ion, target_z: u8, energy_ev: f64, r_min_m: f64, ) -> Result<f64, StoppingError>
Local electronic energy loss, J, for a collision with closest approach
r_min_m (metres), which must be finite and non-negative.
Trait Implementations§
Source§impl Clone for OenRobinson
impl Clone for OenRobinson
Source§fn clone(&self) -> OenRobinson
fn clone(&self) -> OenRobinson
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OenRobinson
impl Debug for OenRobinson
Source§impl Default for OenRobinson
impl Default for OenRobinson
Source§fn default() -> OenRobinson
fn default() -> OenRobinson
Returns the “default value” for a type. Read more
Source§impl ElectronicStopping for OenRobinson
impl ElectronicStopping for OenRobinson
Auto Trait Implementations§
impl Freeze for OenRobinson
impl RefUnwindSafe for OenRobinson
impl Send for OenRobinson
impl Sync for OenRobinson
impl Unpin for OenRobinson
impl UnsafeUnpin for OenRobinson
impl UnwindSafe for OenRobinson
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