pub trait HasConstLen {
const LEN: usize;
fn len(&self) -> usize;
fn is_empty(&self) -> bool { ... }
}
Expand description
Gets the length of the element
pub trait HasConstLen {
const LEN: usize;
fn len(&self) -> usize;
fn is_empty(&self) -> bool { ... }
}
Gets the length of the element