[][src]Struct syntastic::ast::Ast

pub struct Ast<V, O, S>(_);

Implementations

impl<V, O, S> Ast<V, O, S>[src]

pub fn sort(&self) -> &S where
    V: Variable<S>,
    O: Operator<S>, 
[src]

pub fn substitute(
    &self,
    target: Self,
    subject: V
) -> Result<Self, InvalidSubstitution<S>> where
    V: Clone + Variable<S> + PartialEq,
    O: Clone + Operator<S>,
    S: Clone + PartialEq
[src]

Trait Implementations

impl<V: Clone, O: Clone, S: Clone> Clone for Ast<V, O, S>[src]

impl<V: Debug, O: Debug, S: Debug> Debug for Ast<V, O, S>[src]

impl<'de, V, O, S> Deserialize<'de> for Ast<V, O, S> where
    V: Deserialize<'de>,
    O: Deserialize<'de>,
    S: Deserialize<'de>, 
[src]

impl<V, O, S> From<V> for Ast<V, O, S> where
    V: Variable<S>, 
[src]

impl<V: PartialEq, O: PartialEq, S: PartialEq> PartialEq<Ast<V, O, S>> for Ast<V, O, S>[src]

impl<V, O, S> Serialize for Ast<V, O, S> where
    V: Serialize,
    O: Serialize,
    S: Serialize
[src]

impl<V, O, S> StructuralPartialEq for Ast<V, O, S>[src]

impl<V, O, S> TryFrom<(O, Vec<Ast<V, O, S>, Global>)> for Ast<V, O, S> where
    V: Clone + Variable<S>,
    O: Clone + Operator<S>,
    S: Clone + PartialEq
[src]

type Error = InvalidOperation<V, O, S>

The type returned in the event of a conversion error.

Auto Trait Implementations

impl<V, O, S> RefUnwindSafe for Ast<V, O, S> where
    O: RefUnwindSafe,
    S: RefUnwindSafe,
    V: RefUnwindSafe

impl<V, O, S> Send for Ast<V, O, S> where
    O: Send,
    S: Send,
    V: Send

impl<V, O, S> Sync for Ast<V, O, S> where
    O: Sync,
    S: Sync,
    V: Sync

impl<V, O, S> Unpin for Ast<V, O, S> where
    O: Unpin,
    S: Unpin,
    V: Unpin

impl<V, O, S> UnwindSafe for Ast<V, O, S> where
    O: UnwindSafe,
    S: UnwindSafe,
    V: 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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[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.