pub struct PhononSpec {
pub preset: Option<String>,
pub hbar_omega_ev: Option<f64>,
pub eps_static: Option<f64>,
pub eps_high_frequency: Option<f64>,
pub temperature_k: f64,
pub provenance: Option<String>,
}Expand description
A Fröhlich LO-phonon channel: explicit parameters, or a preset the library carries with its citation.
Fields§
§preset: Option<String>"sio2-63mev" or "sio2-153mev" (FrohlichPhonon::sio2); then
only temperature_k may be given.
hbar_omega_ev: Option<f64>LO-phonon energy, eV.
eps_static: Option<f64>Static relative permittivity.
eps_high_frequency: Option<f64>High-frequency relative permittivity.
temperature_k: f64Lattice temperature, K.
provenance: Option<String>Source of the values (required without a preset).
Trait Implementations§
Source§impl Clone for PhononSpec
impl Clone for PhononSpec
Source§fn clone(&self) -> PhononSpec
fn clone(&self) -> PhononSpec
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 PhononSpec
impl Debug for PhononSpec
Source§impl<'de> Deserialize<'de> for PhononSpec
impl<'de> Deserialize<'de> for PhononSpec
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 PhononSpec
impl PartialEq for PhononSpec
Source§impl Serialize for PhononSpec
impl Serialize for PhononSpec
impl StructuralPartialEq for PhononSpec
Auto Trait Implementations§
impl Freeze for PhononSpec
impl RefUnwindSafe for PhononSpec
impl Send for PhononSpec
impl Sync for PhononSpec
impl Unpin for PhononSpec
impl UnsafeUnpin for PhononSpec
impl UnwindSafe for PhononSpec
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