pub struct SecondaryEvent {
pub loss_ev: f64,
pub liberated: bool,
pub secondary_ev: f64,
pub binding_ev: f64,
pub deposited_ev: f64,
}Expand description
The energy bookkeeping of one inelastic event under a secondary model, all
in eV. loss_ev = secondary_ev + binding_ev + deposited_ev up to
rounding.
Fields§
§loss_ev: f64W, the energy the primary lost.
liberated: boolWhether an electron was lifted into the conduction band (false for a
sub-gap loss in an insulator or a zero loss).
secondary_ev: f64Kinetic energy of the secondary that was created and will be
transported, E_F + W - B; zero if none was (nothing liberated, or
the liberated electron was below the stopping threshold, in which case
its energy is in deposited_ev).
binding_ev: f64B - E_F if an electron was liberated, else zero: how far its initial
state lay below the band bottom.
deposited_ev: f64Energy left in the solid at the event: W for a sub-gap loss, the
liberated electron’s energy if it was not followed, else zero.
Trait Implementations§
Source§impl Clone for SecondaryEvent
impl Clone for SecondaryEvent
Source§fn clone(&self) -> SecondaryEvent
fn clone(&self) -> SecondaryEvent
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for SecondaryEvent
Source§impl Debug for SecondaryEvent
impl Debug for SecondaryEvent
Source§impl PartialEq for SecondaryEvent
impl PartialEq for SecondaryEvent
impl StructuralPartialEq for SecondaryEvent
Auto Trait Implementations§
impl Freeze for SecondaryEvent
impl RefUnwindSafe for SecondaryEvent
impl Send for SecondaryEvent
impl Sync for SecondaryEvent
impl Unpin for SecondaryEvent
impl UnsafeUnpin for SecondaryEvent
impl UnwindSafe for SecondaryEvent
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
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> ⓘ
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> ⓘ
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