Struct codespan::LineOffset[][src]

pub struct LineOffset(pub RawOffset);

A line offset in a source file

Trait Implementations

impl Add<LineOffset> for LineIndex[src]

type Output = LineIndex

The resulting type after applying the + operator.

impl Add<LineOffset> for LineOffset[src]

type Output = LineOffset

The resulting type after applying the + operator.

impl AddAssign<LineOffset> for LineIndex[src]

impl AddAssign<LineOffset> for LineOffset[src]

impl Clone for LineOffset[src]

impl Copy for LineOffset[src]

impl Debug for LineOffset[src]

impl Default for LineOffset[src]

impl Display for LineOffset[src]

impl Eq for LineOffset[src]

impl From<LineOffset> for RawOffset[src]

impl From<i64> for LineOffset[src]

impl Hash for LineOffset[src]

impl Neg for LineOffset[src]

type Output = LineOffset

The resulting type after applying the - operator.

impl Offset for LineOffset[src]

impl Ord for LineOffset[src]

impl PartialEq<LineOffset> for LineOffset[src]

impl PartialOrd<LineOffset> for LineOffset[src]

impl StructuralEq for LineOffset[src]

impl StructuralPartialEq for LineOffset[src]

impl Sub<LineOffset> for LineOffset[src]

type Output = LineOffset

The resulting type after applying the - operator.

impl Sub<LineOffset> for LineIndex[src]

type Output = LineIndex

The resulting type after applying the - operator.

impl SubAssign<LineOffset> for LineOffset[src]

impl SubAssign<LineOffset> for LineIndex[src]

Auto Trait Implementations

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> ToString for T where
    T: Display + ?Sized
[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.