pub trait Collection {
// Required methods
fn count(&self) -> Count;
fn as_datatype(&self) -> DatatypeRef;
}Expand description
Required Methods§
Sourcefn as_datatype(&self) -> DatatypeRef
fn as_datatype(&self) -> DatatypeRef
The datatype of the elements.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".