pub trait FlexibleArrayHeader: Sized {
// Required method
fn len(&self) -> usize;
// Provided methods
fn is_empty(&self) -> bool { ... }
fn constructor<I: Iterator>(
self,
items: I,
) -> FlexibleArrayConstructor<Self, I> { ... }
}
Required Methods§
Provided Methods§
fn is_empty(&self) -> bool
fn constructor<I: Iterator>(self, items: I) -> FlexibleArrayConstructor<Self, I>
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.