Struct yaiouom::Mul [] [src]

pub struct Mul<A, B> where
    A: Unit,
    B: Unit
{ /* fields omitted */ }

The product of two units of measure.

Note that Rust's type system is not powerful enough to automatically realize that Mul<A, B> == Mul<B, A>.

See the documentation of unify for details on how to work around this limitation.

Trait Implementations

impl<A: Unit, B: Unit> Unit for Mul<A, B>
[src]

[src]

Add a compile-type unit to a dynamic unit, either in positive position (if positive is true) or in negative position (if positive is false). Read more

[src]

[src]

Return a runtime representation of this unit. This method is designed for indexing and debugging. Not particularly fast. Read more

Auto Trait Implementations

impl<A, B> Send for Mul<A, B> where
    A: Send,
    B: Send

impl<A, B> Sync for Mul<A, B> where
    A: Sync,
    B: Sync