[][src]Struct smt2::location::Located

pub struct Located<T> { /* fields omitted */ }

Wrap a value to give it a location.

Implementations

impl<T> Located<T>[src]

pub fn new(t: T, span: Span) -> Located<T>[src]

pub fn into_inner(self) -> T[src]

pub fn span(&self) -> Span[src]

Trait Implementations

impl<T> AsMut<T> for Located<T>[src]

impl<T> AsRef<T> for Located<T>[src]

impl<T: Clone> Clone for Located<T>[src]

impl<T: Debug> Debug for Located<T>[src]

impl<T> Deref for Located<T>[src]

type Target = T

The resulting type after dereferencing.

impl<T: Display> Display for Located<T>[src]

impl<T: Display> Display for Located<T>[src]

impl<T: Eq> Eq for Located<T>[src]

impl<E: Environment> From<Binding<E>> for Located<Binding> where
    E::Constant: Display,
    E::Ident: Display,
    E::Function: Display,
    E::Sort: Display
[src]

impl<E: Environment> From<Declaration<E>> for Located<Declaration> where
    E::Constant: Display,
    E::Ident: Display,
    E::Function: Display,
    E::Sort: Display
[src]

impl<E: Environment> From<Definition<E>> for Located<Definition> where
    E::Constant: Display,
    E::Ident: Display,
    E::Function: Display,
    E::Sort: Display
[src]

impl<T> From<GroundSort<T>> for Located<Sort> where
    T: Display
[src]

impl<E: Environment> From<Located<Error<<E as Environment>::Sort>>> for Located<Error<E>>[src]

impl<L, C: Clone + PartialEq, F: Function> From<Located<Error<Internal<L, C, F>>>> for InternalError<L, C, F>[src]

impl<L, C: Clone + PartialEq, S: Sort, F: Function> From<Located<Error>> for Error<L, C, S, F>[src]

impl<L, C: Clone + PartialEq, F: Function> From<Located<Error>> for InternalError<L, C, F>[src]

impl From<Located<Symbol>> for Located<Ident>[src]

impl<E: Environment> From<MatchCase<E>> for Located<MatchCase> where
    E::Constant: Display,
    E::Ident: Display,
    E::Function: Display,
    E::Sort: Display
[src]

impl<E: Environment> From<Model<E>> for Located<Model> where
    E::Constant: Display,
    E::Ident: Display,
    E::Function: Display,
    E::Sort: Display
[src]

impl<E: Environment> From<Pattern<E>> for Located<Pattern> where
    E::Function: Display,
    E::Ident: Display
[src]

impl<E: Environment> From<SortedVar<E>> for Located<SortedVar> where
    E::Ident: Display,
    E::Sort: Display
[src]

impl<E: Environment> From<Term<E>> for Located<Term> where
    E::Constant: Display,
    E::Ident: Display,
    E::Function: Display,
    E::Sort: Display
[src]

impl<T: PartialEq> PartialEq<Located<T>> for Located<T>[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for Located<T> where
    T: RefUnwindSafe

impl<T> Send for Located<T> where
    T: Send

impl<T> Sync for Located<T> where
    T: Sync

impl<T> Unpin for Located<T> where
    T: Unpin

impl<T> UnwindSafe for Located<T> where
    T: UnwindSafe

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> 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.