[][src]Trait quack::Action

pub trait Action<T> {
    type Result;
    fn action(&mut self, val: T) -> Self::Result;
}

Represents an action on objects.

Associated Types

type Result

The action result type.

Loading content...

Required methods

fn action(&mut self, val: T) -> Self::Result

Performs action on object.

Loading content...

Implementations on Foreign Types

impl<'a, T, U> Action<T> for &'a RefCell<U> where
    U: Action<T>, 
[src]

type Result = U::Result

impl<T, U> Action<T> for Rc<RefCell<U>> where
    U: Action<T>, 
[src]

type Result = U::Result

Loading content...

Implementors

Loading content...