Struct brigadier_rs::parsers::BoolArgument
source · pub struct BoolArgument<S> { /* private fields */ }
Expand description
Boolean argument parser.
This parser has no fields because it simply parses either "true"
or
"false
“.
Trait Implementations
sourceimpl<S> ChildUsage for BoolArgument<S>
impl<S> ChildUsage for BoolArgument<S>
sourceimpl<S> CommandArgument<S, bool> for BoolArgument<S>
impl<S> CommandArgument<S, bool> for BoolArgument<S>
sourceimpl<S> IntoMultipleUsage for BoolArgument<S>
impl<S> IntoMultipleUsage for BoolArgument<S>
sourceimpl<S, E> Then<E> for BoolArgument<S>
impl<S, E> Then<E> for BoolArgument<S>
type Output = CommandThen<BoolArgument<S>, E, bool, S>
type Output = CommandThen<BoolArgument<S>, E, bool, S>
Branching parser used by this type.
impl<S> ArgumentMarkerDefaultImpl for BoolArgument<S>
Auto Trait Implementations
impl<S> RefUnwindSafe for BoolArgument<S>where
S: RefUnwindSafe,
impl<S> Send for BoolArgument<S>where
S: Send,
impl<S> Sync for BoolArgument<S>where
S: Sync,
impl<S> Unpin for BoolArgument<S>where
S: Unpin,
impl<S> UnwindSafe for BoolArgument<S>where
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