pub trait DistanceRuleBase: RuleBase {
type Distance: Num + Copy + PartialOrd;
type Area: Num + Copy + PartialOrd;
}Expand description
Define essential types used for expressing design rules based on distance relations.
Required Associated Types§
Sourcetype Distance: Num + Copy + PartialOrd
type Distance: Num + Copy + PartialOrd
Type used to express distances.
Sourcetype Area: Num + Copy + PartialOrd
type Area: Num + Copy + PartialOrd
Type used to express areas.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".