Trait range_parser::Unit
source · pub trait Unit {
// Required method
fn unit() -> Self;
}
Expand description
A trait for types that have a unit value.
E.g. 1 for integers, 1.0 for floats, etc.
Required Methods§
Object Safety§
This trait is not object safe.