Trait frame_support::traits::Len

source ·
pub trait Len {
    // Required method
    fn len(&self) -> usize;
}
Expand description

Anything that can have a ::len() method.

Required Methods§

source

fn len(&self) -> usize

Return the length of data type.

Implementors§