Struct yaiouom::Inv [] [src]

pub struct Inv<A> where
    A: Unit
{ /* fields omitted */ }

The inverse of a unit of measure.

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

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

Trait Implementations

impl<A: Unit> Unit for Inv<A>
[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> Send for Inv<A> where
    A: Send

impl<A> Sync for Inv<A> where
    A: Sync