pub trait IsQuantity:
UnitFromType
+ TryFrom<DynQuantity<Complex<f64>>>
+ Clone
+ Debug { }Expand description
This is a marker trait which defines trait bounds for all types T which can
be used as “quantities” in VarQuantity<T>. It does not provide any methods
and is auto-implemented for all T fulfilling the bounds, hence it is not
necessary to ever import this trait. It is only public to make compiler error
messages more helpful.
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.