Trait Sequence
pub trait Sequence {
// Required method
fn count(&self) -> usize;
}Expand description
A value that a length prefix counts.
The prefix counts the bytes of a string and the elements of an array.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".