pub struct LayerMetadata {
pub index: usize,
pub front_m: Option<f64>,
pub back_m: Option<f64>,
pub elastic_model: String,
pub elastic_provenance: String,
pub inelastic_model: String,
pub inelastic_provenance: String,
pub band_structure: Option<BandStructure>,
pub phonon: Option<FrohlichPhonon>,
pub polaron: Option<PolaronTrapping>,
pub inner_shells: Vec<InnerShellMetadata>,
}Expand description
Identity of the tables used in one layer, for RunMetadata.
Fields§
§index: usizeLayer index (0 = front).
front_m: Option<f64>Depth of the front face, m; None for a material of a geometry other
than a Stack (a voxel grid has no layer extent).
back_m: Option<f64>Depth of the back face, m; None for a semi-infinite substrate (or
for a geometry other than a Stack).
elastic_model: StringElastic table model identity.
elastic_provenance: StringElastic table provenance.
inelastic_model: StringInelastic table model identity.
inelastic_provenance: StringInelastic table provenance.
band_structure: Option<BandStructure>Band parameters of the layer, with their provenance, if given.
phonon: Option<FrohlichPhonon>Fröhlich LO-phonon channel of this layer (its parameters and their
provenance), or None when off (the default, and the choice for a
metal).
polaron: Option<PolaronTrapping>Polaron-trapping channel of this layer, or None when off.
inner_shells: Vec<InnerShellMetadata>Inner-shell channels of this layer, in sampling order
(Transport::with_inner_shells); empty (and not serialized) when
none.
Trait Implementations§
Source§impl Clone for LayerMetadata
impl Clone for LayerMetadata
Source§fn clone(&self) -> LayerMetadata
fn clone(&self) -> LayerMetadata
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for LayerMetadata
impl Debug for LayerMetadata
Source§impl PartialEq for LayerMetadata
impl PartialEq for LayerMetadata
Source§impl Serialize for LayerMetadata
impl Serialize for LayerMetadata
impl StructuralPartialEq for LayerMetadata
Auto Trait Implementations§
impl Freeze for LayerMetadata
impl RefUnwindSafe for LayerMetadata
impl Send for LayerMetadata
impl Sync for LayerMetadata
impl Unpin for LayerMetadata
impl UnsafeUnpin for LayerMetadata
impl UnwindSafe for LayerMetadata
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