pub struct InnerShell {
pub z: u8,
pub subshell: Subshell,
pub binding_energy_ev: f64,
}Expand description
An inner-shell channel: one subshell of one element.
Fields§
§z: u8Atomic number.
subshell: SubshellThe subshell.
binding_energy_ev: f64Binding energy B, eV.
Implementations§
Source§impl InnerShell
impl InnerShell
Sourcepub fn from_table(
table: &SubshellBindingTable,
z: u8,
subshell: Subshell,
) -> Result<Self, ElectronDataError>
pub fn from_table( table: &SubshellBindingTable, z: u8, subshell: Subshell, ) -> Result<Self, ElectronDataError>
The shell subshell of element z, with its binding energy from
table.
Trait Implementations§
Source§impl Clone for InnerShell
impl Clone for InnerShell
Source§fn clone(&self) -> InnerShell
fn clone(&self) -> InnerShell
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 moreimpl Copy for InnerShell
Source§impl Debug for InnerShell
impl Debug for InnerShell
Source§impl From<&ShellChannelTable> for InnerShell
impl From<&ShellChannelTable> for InnerShell
Source§fn from(t: &ShellChannelTable) -> Self
fn from(t: &ShellChannelTable) -> Self
The shell a stored channel table belongs to.
Source§impl PartialEq for InnerShell
impl PartialEq for InnerShell
impl StructuralPartialEq for InnerShell
Auto Trait Implementations§
impl Freeze for InnerShell
impl RefUnwindSafe for InnerShell
impl Send for InnerShell
impl Sync for InnerShell
impl Unpin for InnerShell
impl UnsafeUnpin for InnerShell
impl UnwindSafe for InnerShell
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