Struct nu_command::commands::RandomBool
source · [−]pub struct RandomBool;
Trait Implementations
sourceimpl WholeStreamCommand for SubCommand
impl WholeStreamCommand for SubCommand
fn name(&self) -> &str
fn signature(&self) -> Signature
fn usage(&self) -> &str
fn run(&self, args: CommandArgs) -> Result<OutputStream, ShellError>
fn examples(&self) -> Vec<Example>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
fn extra_usage(&self) -> &str
fn run_with_actions(
&self,
_args: CommandArgs
) -> Result<ActionStream, ShellError>
fn is_binary(&self) -> bool
fn is_private(&self) -> bool
fn is_builtin(&self) -> bool
fn is_sub(&self) -> bool
fn is_plugin(&self) -> bool
fn is_custom(&self) -> bool
Auto Trait Implementations
impl RefUnwindSafe for SubCommand
impl Send for SubCommand
impl Sync for SubCommand
impl Unpin for SubCommand
impl UnwindSafe for SubCommand
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more