pub fn install(lookup: &mut OpLookup)Expand description
Installs seven record schemas and the complete exact geometry signature table.
- Precondition: this library has not already been installed on
lookup. - Precondition:
lookuphas no record schemas namedPoint2D,Vector2D,Size2D,Rect,Box2D,Angle, orTransform2D. - Precondition:
lookuphas no operation with the same name and operand identities as a signature in the supported table. Other overloads of those names may already be installed. - Postcondition: unrelated signatures, including scalar
min/max, remain available. - Complexity: O(s²) time and O(s) space in the total installed signatures.
§Examples
let mut lookup = cel_parser::OpLookup::new();
cel_euclid::install(&mut lookup);
assert!(lookup.record_schema("Rect").is_some());