[][src]Struct async_graphql::Pos

pub struct Pos {
    pub line: usize,
    pub column: usize,
}

Original position of an element in source code.

Fields

line: usize

One-based line number.

column: usize

One-based column number.

Trait Implementations

impl Clone for Pos[src]

impl Copy for Pos[src]

impl Debug for Pos[src]

impl Default for Pos[src]

impl Display 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 Serialize for Pos[src]

impl StructuralEq for Pos[src]

impl StructuralPartialEq for Pos[src]

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<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

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

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

impl<T> RuleType for T where
    T: Eq + Ord + Copy + Debug + Hash
[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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,