[][src]Struct rustfmt_nightly::Range

pub struct Range { /* fields omitted */ }

A range that is inclusive of both ends.

Methods

impl Range[src]

pub fn new(lo: usize, hi: usize) -> Range[src]

Trait Implementations

impl Eq for Range[src]

impl Clone for Range[src]

impl PartialOrd<Range> for Range[src]

impl Ord for Range[src]

impl PartialEq<Range> for Range[src]

impl Copy for Range[src]

impl Display for Range[src]

impl Debug for Range[src]

impl<'de> Deserialize<'de> for Range[src]

Auto Trait Implementations

impl Unpin for Range

impl Sync for Range

impl Send for Range

impl UnwindSafe for Range

impl RefUnwindSafe for Range

Blanket Implementations

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

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

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<E> SpecializationError for E[src]

impl<T> Erased for T[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]