[][src]Struct lincolns::Positions

pub struct Positions { /* fields omitted */ }

A table of Position information

Methods

impl Positions[src]

pub fn get<P>(&self, ptr: P) -> Option<&Position> where
    P: AsRef<str>, 
[src]

Gets a yaml field's position within a document given its JSON Pointer path

JSON Pointer defines a string syntax for identifying a specific value within a JavaScript Object Notation (JSON) document.

For more information read RFC6901.

pub fn iter(&self) -> impl IntoIterator<Item = (&String, &Position)>[src]

Returns an iterator over positions

Auto Trait Implementations

Blanket Implementations

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

impl<T> From<T> for T[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<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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

impl<R> MarkedEventReceiver for R where
    R: EventReceiver
[src]