pub struct LatticeConstant {
pub material: &'static str,
pub a_m: f64,
pub temperature_k: f64,
pub source: &'static str,
}Expand description
A cited lattice constant: value, the temperature it refers to, and where it was read.
Fields§
§material: &'static strMaterial the value belongs to (display only).
a_m: f64Cubic lattice constant (conventional cell edge), metres.
temperature_k: f64Temperature the value refers to, kelvin.
source: &'static strShort citation of the record the value was read from.
Trait Implementations§
Source§impl Clone for LatticeConstant
impl Clone for LatticeConstant
Source§fn clone(&self) -> LatticeConstant
fn clone(&self) -> LatticeConstant
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 Copy for LatticeConstant
Source§impl Debug for LatticeConstant
impl Debug for LatticeConstant
Source§impl PartialEq for LatticeConstant
impl PartialEq for LatticeConstant
impl StructuralPartialEq for LatticeConstant
Auto Trait Implementations§
impl Freeze for LatticeConstant
impl RefUnwindSafe for LatticeConstant
impl Send for LatticeConstant
impl Sync for LatticeConstant
impl Unpin for LatticeConstant
impl UnsafeUnpin for LatticeConstant
impl UnwindSafe for LatticeConstant
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