pub struct GasUnit {
pub unit_prefex: Prefixes,
pub medium_unit: Units,
pub timebase: TimeBases,
}
Expand description
GasUnit contains a base unit its SI prefix and the time base such as: centimeter per minute. Often used when checking current calibration settings of a device.
Fields§
§unit_prefex: Prefixes
§medium_unit: Units
§timebase: TimeBases
Implementations§
Trait Implementations§
impl Copy for GasUnit
impl StructuralPartialEq for GasUnit
Auto Trait Implementations§
impl Freeze for GasUnit
impl RefUnwindSafe for GasUnit
impl Send for GasUnit
impl Sync for GasUnit
impl Unpin for GasUnit
impl UnwindSafe for GasUnit
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