pub struct PhysicalData { /* private fields */ }Implementations§
Source§impl PhysicalData
impl PhysicalData
pub const fn density(&self) -> Option<f64>
pub const fn boiling_point(&self) -> Option<f64>
pub const fn melting_point(&self) -> Option<f64>
pub const fn molar_heat_capacity(&self) -> Option<f64>
pub const fn phase_in_standard_conditions(&self) -> &'static str
pub const fn new( boiling_point: Option<f64>, melting_point: Option<f64>, density: Option<f64>, molar_heat_capacity: Option<f64>, phase_in_standard_conditions: &'static str, ) -> Self
Trait Implementations§
Source§impl Clone for PhysicalData
impl Clone for PhysicalData
Source§fn clone(&self) -> PhysicalData
fn clone(&self) -> PhysicalData
Returns a duplicate of the value. Read more
1.0.0 · 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 PhysicalData
impl Debug for PhysicalData
Source§impl PartialEq for PhysicalData
impl PartialEq for PhysicalData
Source§impl PartialOrd for PhysicalData
impl PartialOrd for PhysicalData
impl StructuralPartialEq for PhysicalData
Auto Trait Implementations§
impl Freeze for PhysicalData
impl RefUnwindSafe for PhysicalData
impl Send for PhysicalData
impl Sync for PhysicalData
impl Unpin for PhysicalData
impl UnwindSafe for PhysicalData
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