Trait frame_support::traits::Len[][src]

pub trait Len {
    fn len(&self) -> usize;
}

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

Required methods

fn len(&self) -> usize[src]

Return the length of data type.

Loading content...

Implementors

impl<T: IntoIterator + Clone> Len for T where
    <T as IntoIterator>::IntoIter: ExactSizeIterator
[src]

Loading content...