Struct brigadier_rs::parsers::ThenExecutor
source · pub struct ThenExecutor<A, E, C, O, S> { /* private fields */ }
Expand description
Default executor for CommandThen
.
Trait Implementations
sourceimpl<S, A, E, O, C> BuildExecute<C, ThenExecutor<A, E, C, O, S>> for CommandThen<A, E, O, S>where
C: TaskLogic<S, O>,
impl<S, A, E, O, C> BuildExecute<C, ThenExecutor<A, E, C, O, S>> for CommandThen<A, E, O, S>where
C: TaskLogic<S, O>,
fn build_exec(self, task: C) -> ThenExecutor<A, E, C, O, S>
sourceimpl<A, E, O, C, T, S> BuildPropagate<C, T, ThenExecutor<A, E, C, O, S>> for CommandThen<A, E, O, S>where
C: TaskLogic<S, (T, O)>,
impl<A, E, O, C, T, S> BuildPropagate<C, T, ThenExecutor<A, E, C, O, S>> for CommandThen<A, E, O, S>where
C: TaskLogic<S, (T, O)>,
fn build_propagate(self, task: C) -> ThenExecutor<A, E, C, O, S>
sourceimpl<A, E, C, O, S> ChildUsage for ThenExecutor<A, E, C, O, S>where
CommandThen<A, E, O, S>: ChildUsage,
impl<A, E, C, O, S> ChildUsage for ThenExecutor<A, E, C, O, S>where
CommandThen<A, E, O, S>: ChildUsage,
type Child = <CommandThen<A, E, O, S> as ChildUsage>::Child
type Child = <CommandThen<A, E, O, S> as ChildUsage>::Child
Usage that is returned.
sourcefn usage_child(&self) -> Self::Child
fn usage_child(&self) -> Self::Child
Return a new
SingleUsage
, this represents the path from the root up
until this parser. Read moresourceimpl<A, E, C, O, S> CommandArgument<S, O> for ThenExecutor<A, E, C, O, S>where
A: CommandArgument<S, O>,
impl<A, E, C, O, S> CommandArgument<S, O> for ThenExecutor<A, E, C, O, S>where
A: CommandArgument<S, O>,
sourceimpl<A, O, E, C, U, S> Execute<S, U> for ThenExecutor<A, E, C, O, S>where
A: CommandArgument<S, O>,
E: Propagate<S, O, U>,
C: TaskLogic<S, O, Output = U>,
S: Copy,
impl<A, O, E, C, U, S> Execute<S, U> for ThenExecutor<A, E, C, O, S>where
A: CommandArgument<S, O>,
E: Propagate<S, O, U>,
C: TaskLogic<S, O, Output = U>,
S: Copy,
sourceimpl<A, E, C, O, S> IntoMultipleUsage for ThenExecutor<A, E, C, O, S>where
A: IntoMultipleUsage + ChildUsage,
E: IntoMultipleUsage,
impl<A, E, C, O, S> IntoMultipleUsage for ThenExecutor<A, E, C, O, S>where
A: IntoMultipleUsage + ChildUsage,
E: IntoMultipleUsage,
type Item = Chain<<A as IntoMultipleUsage>::Item, Prefix<(<A as ChildUsage>::Child, &'static str), <E as IntoMultipleUsage>::Item>>
type Item = Chain<<A as IntoMultipleUsage>::Item, Prefix<(<A as ChildUsage>::Child, &'static str), <E as IntoMultipleUsage>::Item>>
The returned
MultipleUsage
iterator.sourceimpl<A, O, E, C, T, U, S> Propagate<S, T, U> for ThenExecutor<A, E, C, O, S>where
T: Copy,
S: Copy,
A: CommandArgument<S, O>,
E: Propagate<S, (T, O), U>,
C: TaskLogic<S, (T, O), Output = U>,
impl<A, O, E, C, T, U, S> Propagate<S, T, U> for ThenExecutor<A, E, C, O, S>where
T: Copy,
S: Copy,
A: CommandArgument<S, O>,
E: Propagate<S, (T, O), U>,
C: TaskLogic<S, (T, O), Output = U>,
Auto Trait Implementations
impl<A, E, C, O, S> RefUnwindSafe for ThenExecutor<A, E, C, O, S>where
A: RefUnwindSafe,
C: RefUnwindSafe,
E: RefUnwindSafe,
O: RefUnwindSafe,
S: RefUnwindSafe,
impl<A, E, C, O, S> Send for ThenExecutor<A, E, C, O, S>where
A: Send,
C: Send,
E: Send,
O: Send,
S: Send,
impl<A, E, C, O, S> Sync for ThenExecutor<A, E, C, O, S>where
A: Sync,
C: Sync,
E: Sync,
O: Sync,
S: Sync,
impl<A, E, C, O, S> Unpin for ThenExecutor<A, E, C, O, S>where
A: Unpin,
C: Unpin,
E: Unpin,
O: Unpin,
S: Unpin,
impl<A, E, C, O, S> UnwindSafe for ThenExecutor<A, E, C, O, S>where
A: UnwindSafe,
C: UnwindSafe,
E: UnwindSafe,
O: UnwindSafe,
S: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more