Struct unitary::Qty [] [src]

pub struct Qty<T: Measurement>(pub f64, pub Vec<(T, f64)>);

Methods

impl<T: Measurement> Qty<T>
[src]

[src]

[src]

Trait Implementations

impl<T: Debug + Measurement> Debug for Qty<T>
[src]

[src]

Formats the value using the given formatter. Read more

impl<T: Clone + Measurement> Clone for Qty<T>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<T: Measurement> Div<Qty<T>> for Qty<T>
[src]

The resulting type after applying the / operator.

[src]

Performs the / operation.

impl<T: Measurement> Div<f64> for Qty<T>
[src]

The resulting type after applying the / operator.

[src]

Performs the / operation.

impl<T: Measurement> Mul<Qty<T>> for Qty<T>
[src]

The resulting type after applying the * operator.

[src]

Performs the * operation.

impl<T: Measurement> Mul<f64> for Qty<T>
[src]

The resulting type after applying the * operator.

[src]

Performs the * operation.

impl<T: Measurement> Add<Qty<T>> for Qty<T>
[src]

The resulting type after applying the + operator.

[src]

Performs the + operation.

impl<T: Measurement> Sub<Qty<T>> for Qty<T>
[src]

The resulting type after applying the - operator.

[src]

Performs the - operation.

impl<T: Measurement> Into<f64> for Qty<T>
[src]

[src]

Performs the conversion.

impl<T: Measurement> Display for Qty<T>
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<T> Send for Qty<T> where
    T: Send

impl<T> Sync for Qty<T> where
    T: Sync