[][src]Struct rls_span::Position

pub struct Position<I: Indexed> {
    pub row: Row<I>,
    pub col: Column<I>,
}

Fields

row: Row<I>col: Column<I>

Implementations

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

pub fn new(row: Row<I>, col: Column<I>) -> Position<I>[src]

impl Position<OneIndexed>[src]

impl Position<ZeroIndexed>[src]

Trait Implementations

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

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

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

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

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

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

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

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

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

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

Auto Trait Implementations

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

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

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

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

impl<I> UnwindSafe for Position<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.