Trait combine::primitives::Range [] [src]

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

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

Required Methods

Returns the remaining length of self. The returned length need not be the same as the number of items left in the stream.

Provided Methods

Returns true if the range does not contain any elements (Range::len() == 0)

Implementations on Foreign Types

impl<'a> Range for &'a str
[src]

impl<'a, T> Range for &'a [T]
[src]

Implementors