[][src]Struct rls_span::Range

pub struct Range<I: Indexed> {
    pub row_start: Row<I>,
    pub row_end: Row<I>,
    pub col_start: Column<I>,
    pub col_end: Column<I>,
}

Fields

row_start: Row<I>row_end: Row<I>col_start: Column<I>col_end: Column<I>

Implementations

impl<I: Indexed> Range<I>[src]

pub fn new(
    row_start: Row<I>,
    row_end: Row<I>,
    col_start: Column<I>,
    col_end: Column<I>
) -> Range<I>
[src]

pub fn from_positions(start: Position<I>, end: Position<I>) -> Range<I>[src]

pub fn start(self) -> Position<I>[src]

pub fn end(self) -> Position<I>[src]

impl Range<OneIndexed>[src]

impl Range<ZeroIndexed>[src]

Trait Implementations

impl<I: Indexed> Clone for Range<I>[src]

impl<I: Indexed> Copy for Range<I>[src]

impl<I: Debug + Indexed> Debug for Range<I>[src]

impl<I: Eq + Indexed> Eq for Range<I>[src]

impl<I: Hash + Indexed> Hash for Range<I>[src]

impl<I: Ord + Indexed> Ord for Range<I>[src]

impl<I: PartialEq + Indexed> PartialEq<Range<I>> for Range<I>[src]

impl<I: PartialOrd + Indexed> PartialOrd<Range<I>> for Range<I>[src]

impl<I: Indexed> StructuralEq for Range<I>[src]

impl<I: Indexed> StructuralPartialEq for Range<I>[src]

Auto Trait Implementations

impl<I> RefUnwindSafe for Range<I> where
    I: RefUnwindSafe
[src]

impl<I> Send for Range<I> where
    I: Send
[src]

impl<I> Sync for Range<I> where
    I: Sync
[src]

impl<I> Unpin for Range<I> where
    I: Unpin
[src]

impl<I> UnwindSafe for Range<I> where
    I: UnwindSafe
[src]

Blanket Implementations

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

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

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

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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.