[][src]Trait combine::stream::Range

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

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

Trait representing a range of elements.

Required methods

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

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

Loading content...

Provided methods

pub fn is_empty(&self) -> bool[src]

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

Loading content...

Implementations on Foreign Types

impl<'a, I: ?Sized> Range for &'a mut I where
    I: Range
[src]

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

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

Loading content...

Implementors

Loading content...