Struct mm0b_parser::NameEntryRef[][src]

pub struct NameEntryRef<'a> { /* fields omitted */ }

A handle to an symbol name entry in the index.

Implementations

impl<'a> NameEntryRef<'a>[src]

#[must_use]
pub fn value(&self) -> Option<&'a str>
[src]

Extract the name of this index entry as a &str.

pub fn decl(&self) -> Result<Option<(StmtCmd, ProofIter<'a>)>, ParseError>[src]

The statement that sourced this entry.

Trait Implementations

impl<'a> Clone for NameEntryRef<'a>[src]

impl<'a> Copy for NameEntryRef<'a>[src]

impl<'a> Debug for NameEntryRef<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for NameEntryRef<'a>

impl<'a> Send for NameEntryRef<'a>

impl<'a> Sync for NameEntryRef<'a>

impl<'a> Unpin for NameEntryRef<'a>

impl<'a> UnwindSafe for NameEntryRef<'a>

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.