pub(crate) struct CommandRequirementRoute<S> {
traversal: CommandRequirement<S>,
execution: CommandRequirement<S>,
}Expand description
Requirements for traversing a scoped route and executing its current node.
Fields§
§traversal: CommandRequirement<S>§execution: CommandRequirement<S>Implementations§
Source§impl<S> CommandRequirementRoute<S>
impl<S> CommandRequirementRoute<S>
Sourcepub(crate) const fn new(
traversal: CommandRequirement<S>,
execution: CommandRequirement<S>,
) -> Self
pub(crate) const fn new( traversal: CommandRequirement<S>, execution: CommandRequirement<S>, ) -> Self
Creates the requirements for one resolved route through a command tree.
Trait Implementations§
Auto Trait Implementations§
impl<S> !RefUnwindSafe for CommandRequirementRoute<S>
impl<S> !UnwindSafe for CommandRequirementRoute<S>
impl<S> Freeze for CommandRequirementRoute<S>
impl<S> Send for CommandRequirementRoute<S>
impl<S> Sync for CommandRequirementRoute<S>
impl<S> Unpin for CommandRequirementRoute<S>
impl<S> UnsafeUnpin for CommandRequirementRoute<S>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreWraps this value in an
Arc<SyncMutex<>>