pub struct TableGridSpec {
pub min_energy_ev: f64,
pub max_energy_ev: Option<f64>,
pub points_per_decade: f64,
}Expand description
[electron.tables]: the energy grid both tables of every layer share.
Fields§
§min_energy_ev: f64Lowest grid energy, eV.
max_energy_ev: Option<f64>Highest grid energy, eV. Default: the beam energy (plus the largest inner potential with the step barrier).
points_per_decade: f64Minimum points per decade.
Trait Implementations§
Source§impl Clone for TableGridSpec
impl Clone for TableGridSpec
Source§fn clone(&self) -> TableGridSpec
fn clone(&self) -> TableGridSpec
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 TableGridSpec
impl Debug for TableGridSpec
Source§impl Default for TableGridSpec
impl Default for TableGridSpec
Source§impl<'de> Deserialize<'de> for TableGridSpec
impl<'de> Deserialize<'de> for TableGridSpec
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for TableGridSpec
impl PartialEq for TableGridSpec
Source§impl Serialize for TableGridSpec
impl Serialize for TableGridSpec
impl StructuralPartialEq for TableGridSpec
Auto Trait Implementations§
impl Freeze for TableGridSpec
impl RefUnwindSafe for TableGridSpec
impl Send for TableGridSpec
impl Sync for TableGridSpec
impl Unpin for TableGridSpec
impl UnsafeUnpin for TableGridSpec
impl UnwindSafe for TableGridSpec
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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