pub struct ElectronTemperature<R: RealField>(/* private fields */);Expand description
Free-electron translational temperature $T_e$. Unit: K. Constraint: finite, $\geq 0$.
Implementations§
Source§impl<R: RealField> ElectronTemperature<R>
impl<R: RealField> ElectronTemperature<R>
pub fn new(val: R) -> Result<Self, PhysicsError>
Sourcepub fn new_unchecked(val: R) -> Self
pub fn new_unchecked(val: R) -> Self
Creates a new ElectronTemperature without validation.
Use only if the value is guaranteed finite and non-negative.
pub fn value(&self) -> R
Trait Implementations§
Source§impl<R: Clone + RealField> Clone for ElectronTemperature<R>
impl<R: Clone + RealField> Clone for ElectronTemperature<R>
Source§fn clone(&self) -> ElectronTemperature<R>
fn clone(&self) -> ElectronTemperature<R>
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<R: Copy + RealField> Copy for ElectronTemperature<R>
Source§impl<R: RealField> Default for ElectronTemperature<R>
impl<R: RealField> Default for ElectronTemperature<R>
Source§impl<R: RealField + Into<f64>> From<ElectronTemperature<R>> for f64
impl<R: RealField + Into<f64>> From<ElectronTemperature<R>> for f64
Source§fn from(val: ElectronTemperature<R>) -> Self
fn from(val: ElectronTemperature<R>) -> Self
Converts to this type from the input type.
Source§impl<R: PartialOrd + RealField> PartialOrd for ElectronTemperature<R>
impl<R: PartialOrd + RealField> PartialOrd for ElectronTemperature<R>
impl<R: PartialEq + RealField> StructuralPartialEq for ElectronTemperature<R>
Auto Trait Implementations§
impl<R> Freeze for ElectronTemperature<R>where
R: Freeze,
impl<R> RefUnwindSafe for ElectronTemperature<R>where
R: RefUnwindSafe,
impl<R> Send for ElectronTemperature<R>where
R: Send,
impl<R> Sync for ElectronTemperature<R>where
R: Sync,
impl<R> Unpin for ElectronTemperature<R>where
R: Unpin,
impl<R> UnsafeUnpin for ElectronTemperature<R>where
R: UnsafeUnpin,
impl<R> UnwindSafe for ElectronTemperature<R>where
R: UnwindSafe,
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