[][src]Trait combinedfun::traits::RangeLike

pub trait RangeLike {
    fn can_continue(&self, n: usize) -> bool;
fn has_to_continue(&self, n: usize) -> bool; fn capacity(&self) -> usize { ... } }

This trait is implemented for all types that implement RangeBounds.

In most circumstances, you shouldn't implement it yourself, although there are certainly applications.

Required methods

fn can_continue(&self, n: usize) -> bool

fn has_to_continue(&self, n: usize) -> bool

Loading content...

Provided methods

fn capacity(&self) -> usize

The capacity the container should start with

Loading content...

Implementors

impl<T> RangeLike for T where
    T: RangeBounds<usize>, 
[src]

Loading content...