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]
fn add_to_runtime(repr: &mut RuntimeUnit, positive: bool)[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
fn new<T>(value: T) -> Measure<T, Self> where
Self: Sized, [src]
Self: Sized,
fn as_runtime() -> RuntimeUnit[src]
Return a runtime representation of this unit. This method is designed for indexing and debugging. Not particularly fast. Read more