[][src]Struct kontroli::Application

pub struct Application<S, A> {
    pub symbol: S,
    pub args: Vec<A>,
}

Application of a list of arguments to a symbol.

Fields

symbol: Sargs: Vec<A>

Implementations

impl<S, A> Application<S, A>[src]

pub fn map<F, B>(self, f: F) -> Application<S, B> where
    F: Fn(A) -> B, 
[src]

Trait Implementations

impl<S: Clone, A: Clone> Clone for Application<S, A>[src]

impl<S: Display, A: Display> Display for Application<S, A>[src]

impl<S> From<Application<S, Pattern<S>>> for Pattern<S>[src]

impl<S, A> From<S> for Application<S, A>[src]

impl<S> TryFrom<Pattern<S>> for Application<S, Pattern<S>>[src]

type Error = ()

The type returned in the event of a conversion error.

Auto Trait Implementations

impl<S, A> RefUnwindSafe for Application<S, A> where
    A: RefUnwindSafe,
    S: RefUnwindSafe

impl<S, A> Send for Application<S, A> where
    A: Send,
    S: Send

impl<S, A> Sync for Application<S, A> where
    A: Sync,
    S: Sync

impl<S, A> Unpin for Application<S, A> where
    A: Unpin,
    S: Unpin

impl<S, A> UnwindSafe for Application<S, A> where
    A: UnwindSafe,
    S: 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<!> for T[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

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.