pub trait QuantityDivOutput<S: Scalar> {
type Output;
// Required method
fn wrap(v: S) -> Self::Output;
}Expand description
Converts a UnitDiv::Output token into the concrete type returned by Div.
SameDivOutput→S(raw scalar; cancellation)- Any
U: Unit→Quantity<U, S>
Both implementations are coherent: SameDivOutput does not implement
Unit, so the two impls are provably disjoint under Rust’s orphan rules.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.