pub struct UnitTemperature {
pub kind: UnitTemperatureType,
pub temperature: u32,
}Fields§
§kind: UnitTemperatureType§temperature: u32Trait Implementations§
Source§impl Clone for UnitTemperature
impl Clone for UnitTemperature
Source§fn clone(&self) -> UnitTemperature
fn clone(&self) -> UnitTemperature
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 UnitTemperature
impl Debug for UnitTemperature
Source§impl Hash for UnitTemperature
impl Hash for UnitTemperature
Source§impl PartialEq for UnitTemperature
impl PartialEq for UnitTemperature
Source§fn eq(&self, other: &UnitTemperature) -> bool
fn eq(&self, other: &UnitTemperature) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for UnitTemperature
impl Eq for UnitTemperature
impl StructuralPartialEq for UnitTemperature
Auto Trait Implementations§
impl Freeze for UnitTemperature
impl RefUnwindSafe for UnitTemperature
impl Send for UnitTemperature
impl Sync for UnitTemperature
impl Unpin for UnitTemperature
impl UnsafeUnpin for UnitTemperature
impl UnwindSafe for UnitTemperature
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