[][src]Struct proto_vulcan::lresult::LResult

pub struct LResult<U: UserState>(pub Rc<LTerm>, pub Rc<ConstraintStore<U>>);

Implementations

impl<U: UserState> LResult<U>[src]

pub fn is_any_except<T>(&self, exception: &T) -> bool where
    T: PartialEq<LTerm>, 
[src]

Check if the wrapped LTerm is an Any-variable with constraints such that it cannot be the exception.

pub fn is_constrained(&self) -> bool[src]

Check if the wrapped LTerm is constrained by any constraint.

pub fn constraints<'a>(&'a self) -> impl Iterator<Item = &'a Constraint<U>>[src]

Returns iterator to constraints that refer to the wrapped LTerm.

Methods from Deref<Target = Rc<LTerm>>

Trait Implementations

impl<U: Clone + UserState> Clone for LResult<U>[src]

impl<U: Debug + UserState> Debug for LResult<U>[src]

impl<U: UserState> Deref for LResult<U>[src]

type Target = Rc<LTerm>

The resulting type after dereferencing.

impl<U: UserState> Display for LResult<U>[src]

impl<U: UserState, '_> PartialEq<&'_ str> for LResult<U>[src]

impl<U: UserState> PartialEq<LResult<U>> for LTerm[src]

impl<U: UserState> PartialEq<LResult<U>> for Rc<LTerm>[src]

impl<U: UserState> PartialEq<LResult<U>> for LValue[src]

impl<U: UserState> PartialEq<LResult<U>> for bool[src]

impl<U: UserState> PartialEq<LResult<U>> for isize[src]

impl<U: UserState> PartialEq<LResult<U>> for char[src]

impl<U: UserState> PartialEq<LResult<U>> for String[src]

impl<U: UserState, '_> PartialEq<LResult<U>> for &'_ str[src]

impl<U: UserState> PartialEq<LTerm> for LResult<U>[src]

impl<U: UserState> PartialEq<LValue> for LResult<U>[src]

impl<U: UserState> PartialEq<Rc<LTerm>> for LResult<U>[src]

impl<U: UserState> PartialEq<String> for LResult<U>[src]

impl<U: UserState> PartialEq<bool> for LResult<U>[src]

impl<U: UserState> PartialEq<char> for LResult<U>[src]

impl<U: UserState> PartialEq<isize> for LResult<U>[src]

Auto Trait Implementations

impl<U> !RefUnwindSafe for LResult<U>

impl<U> !Send for LResult<U>

impl<U> !Sync for LResult<U>

impl<U> Unpin for LResult<U>

impl<U> !UnwindSafe for LResult<U>

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.