[][src]Struct codemap::Pos

pub struct Pos(_);

A small, Copy, value representing a position in a CodeMap's file.

Trait Implementations

impl Add<u64> for Pos[src]

type Output = Pos

The resulting type after applying the + operator.

impl Clone for Pos[src]

impl Copy for Pos[src]

impl Debug for Pos[src]

impl Eq for Pos[src]

impl Hash for Pos[src]

impl Ord for Pos[src]

impl PartialEq<Pos> for Pos[src]

impl PartialOrd<Pos> for Pos[src]

impl StructuralEq for Pos[src]

impl StructuralPartialEq for Pos[src]

impl Sub<Pos> for Pos[src]

type Output = u64

The resulting type after applying the - operator.

Auto Trait Implementations

impl RefUnwindSafe for Pos

impl Send for Pos

impl Sync for Pos

impl Unpin for Pos

impl UnwindSafe for Pos

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.