pub fn add_object( registry: &mut ShapeRegistry, id: Option<&str>, properties: Vec<(String, Type)>, ) -> Type
Add an object to a ShapeRegistry. Returns a Type::Object representing the added object.
Type::Object