pub struct InsulatorChannels {
pub phonon: Option<FrohlichPhonon>,
pub polaron: Option<PolaronTrapping>,
}Expand description
The insulator channels switched on in one layer. The default has none, which is what a metal (or any layer not opted in) gets.
Fields§
§phonon: Option<FrohlichPhonon>Fröhlich LO-phonon emission and absorption, if on.
polaron: Option<PolaronTrapping>Polaron trapping, if on.
Implementations§
Trait Implementations§
Source§impl Clone for InsulatorChannels
impl Clone for InsulatorChannels
Source§fn clone(&self) -> InsulatorChannels
fn clone(&self) -> InsulatorChannels
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 InsulatorChannels
impl Debug for InsulatorChannels
Source§impl Default for InsulatorChannels
impl Default for InsulatorChannels
Source§fn default() -> InsulatorChannels
fn default() -> InsulatorChannels
Returns the “default value” for a type. Read more
Source§impl PartialEq for InsulatorChannels
impl PartialEq for InsulatorChannels
Source§impl Serialize for InsulatorChannels
impl Serialize for InsulatorChannels
impl StructuralPartialEq for InsulatorChannels
Auto Trait Implementations§
impl Freeze for InsulatorChannels
impl RefUnwindSafe for InsulatorChannels
impl Send for InsulatorChannels
impl Sync for InsulatorChannels
impl Unpin for InsulatorChannels
impl UnsafeUnpin for InsulatorChannels
impl UnwindSafe for InsulatorChannels
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