Enum nostr_bot::FunctorType
source · pub enum FunctorType<State> {
Basic(Functor<State>),
Extra(FunctorExtra<State>),
}
Expand description
Describes various functor types.
You should not need to use it directly, use wrap or wrap_extra macros instead.
Variants§
Basic(Functor<State>)
Extra(FunctorExtra<State>)
Trait Implementations§
source§impl<State: Clone> Clone for FunctorType<State>
impl<State: Clone> Clone for FunctorType<State>
source§fn clone(&self) -> FunctorType<State>
fn clone(&self) -> FunctorType<State>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more