Trait lazy_concat::Length[][src]

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

    fn is_empty(&self) -> bool { ... }
}

A trait for types whose values have a length, in bytes.

Required Methods

The size of the object in bytes

Provided Methods

Implementations on Foreign Types

impl<T> Length for Vec<T>
[src]

impl<T> Length for [T]
[src]

impl Length for String
[src]

impl Length for str
[src]

Implementors