[][src]Struct metfor::JpKgpK

pub struct JpKgpK(pub f64);

Specific energy per Kelvin in J K-1 kg-1. Used for gas constants and specific heat valus.

Methods

impl JpKgpK[src]

pub fn max(self, other: JpKgpK) -> Self[src]

Find the maximum for two values

pub fn min(self, other: JpKgpK) -> Self[src]

Find the minimum for two values

Trait Implementations

impl Quantity for JpKgpK[src]

fn approx_eq<RHS, TOL>(self, other: RHS, tol: TOL) -> bool where
    Self: From<RHS> + From<TOL> + Quantity
[src]

Test whether these two values are close

fn abs(self) -> Self[src]

Test whether these two values are close

impl<T> PartialEq<T> for JpKgpK where
    JpKgpK: From<T> + Quantity,
    T: Quantity
[src]

#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests for !=.

impl Clone for JpKgpK[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Copy for JpKgpK[src]

impl<T> PartialOrd<T> for JpKgpK where
    JpKgpK: From<T> + Quantity,
    T: Quantity
[src]

#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests less than (for self and other) and is used by the < operator. Read more

#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Debug for JpKgpK[src]

impl<T> Add<T> for JpKgpK where
    JpKgpK: From<T> + Quantity,
    T: Quantity
[src]

type Output = JpKgpK

The resulting type after applying the + operator.

impl<T> Sub<T> for JpKgpK where
    JpKgpK: From<T> + Quantity,
    T: Quantity
[src]

type Output = JpKgpK

The resulting type after applying the - operator.

impl Mul<f64> for JpKgpK[src]

type Output = JpKgpK

The resulting type after applying the * operator.

impl Mul<Kelvin> for JpKgpK[src]

type Output = JpKg

The resulting type after applying the * operator.

impl Mul<JpKgpK> for Kelvin[src]

type Output = JpKg

The resulting type after applying the * operator.

impl<T> Div<T> for JpKgpK where
    JpKgpK: From<T> + Quantity,
    T: Quantity
[src]

type Output = f64

The resulting type after applying the / operator.

impl Neg for JpKgpK[src]

type Output = JpKgpK

The resulting type after applying the - operator.

impl<T> AddAssign<T> for JpKgpK where
    JpKgpK: From<T> + Quantity,
    T: Quantity
[src]

impl<T> SubAssign<T> for JpKgpK where
    JpKgpK: From<T> + Quantity,
    T: Quantity
[src]

impl MulAssign<f64> for JpKgpK[src]

impl DivAssign<f64> for JpKgpK[src]

Auto Trait Implementations

impl Send for JpKgpK

impl Sync for JpKgpK

Blanket Implementations

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]