[−][src]Struct gobble::reader::Pos
Fields
line: usize
col: usize
start: usize
fin: Option<usize>
ob: O
Implementations
impl<O> Pos<O>
[src]
pub fn on_str<'a>(&self, s: &'a str) -> &'a str
[src]
This version assumes that this is the string it came from
Trait Implementations
impl<O: Clone> Clone for Pos<O>
[src]
impl<O: Debug> Debug for Pos<O>
[src]
impl<O: PartialEq> PartialEq<Pos<O>> for Pos<O>
[src]
impl<O> StructuralPartialEq for Pos<O>
[src]
Auto Trait Implementations
impl<O> RefUnwindSafe for Pos<O> where
O: RefUnwindSafe,
O: RefUnwindSafe,
impl<O> Send for Pos<O> where
O: Send,
O: Send,
impl<O> Sync for Pos<O> where
O: Sync,
O: Sync,
impl<O> Unpin for Pos<O> where
O: Unpin,
O: Unpin,
impl<O> UnwindSafe for Pos<O> where
O: UnwindSafe,
O: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,