Struct cansat_core::quantity::Pressure
source · pub struct Pressure(_);
Implementations§
source§impl Pressure
impl Pressure
pub const fn from_pascals(value: f32) -> Self
pub fn from_hectos(value: f32) -> Self
pub const fn as_pascals(&self) -> f32
pub fn as_hectos(&self) -> f32
Trait Implementations§
source§impl PartialEq<Pressure> for Pressure
impl PartialEq<Pressure> for Pressure
source§impl PartialOrd<Pressure> for Pressure
impl PartialOrd<Pressure> for Pressure
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Pressure
impl StructuralPartialEq for Pressure
Auto Trait Implementations§
impl RefUnwindSafe for Pressure
impl Send for Pressure
impl Sync for Pressure
impl Unpin for Pressure
impl UnwindSafe for Pressure
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