pub trait CollectionExt: Collection {
// Required methods
fn props(&self) -> &CollectionProperties;
fn props_mut(&mut self) -> &mut CollectionProperties;
}
Expand description
The Collection Extension Trait
This trait provides generic access to a collection’s properties
Required Methods§
fn props(&self) -> &CollectionProperties
fn props_mut(&mut self) -> &mut CollectionProperties
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.