Struct Stress
pub struct Stress { /* private fields */ }Implementations§
§impl Stress
impl Stress
pub fn new(pascals: f64) -> Result<Stress, StressError>
pub fn pascals(&self) -> f64
pub fn megapascals(&self) -> f64
pub fn gigapascals(&self) -> f64
Trait Implementations§
impl Copy for Stress
impl StructuralPartialEq for Stress
Auto Trait Implementations§
impl Freeze for Stress
impl RefUnwindSafe for Stress
impl Send for Stress
impl Sync for Stress
impl Unpin for Stress
impl UnsafeUnpin for Stress
impl UnwindSafe for Stress
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