pub struct GenerateCommand;Expand description
Typed wrapper for upstream GenerateCommand.
Implementations§
Source§impl GenerateCommand
impl GenerateCommand
pub const fn new() -> Self
pub fn spec(&self) -> &'static CommandSpec
pub const fn action_kind(&self) -> ActionKind
Trait Implementations§
Source§impl AbstractCommand for GenerateCommand
impl AbstractCommand for GenerateCommand
fn command_name(&self) -> CommandName
fn spec(&self) -> &'static CommandSpec
fn load<I, S>(&self, args: I) -> Result<ActionInvocation, CommandParseError>
Source§impl Clone for GenerateCommand
impl Clone for GenerateCommand
Source§fn clone(&self) -> GenerateCommand
fn clone(&self) -> GenerateCommand
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GenerateCommand
impl Debug for GenerateCommand
Source§impl Default for GenerateCommand
impl Default for GenerateCommand
Source§fn default() -> GenerateCommand
fn default() -> GenerateCommand
Returns the “default value” for a type. Read more
Source§impl PartialEq for GenerateCommand
impl PartialEq for GenerateCommand
Source§fn eq(&self, other: &GenerateCommand) -> bool
fn eq(&self, other: &GenerateCommand) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for GenerateCommand
impl Eq for GenerateCommand
impl StructuralPartialEq for GenerateCommand
Auto Trait Implementations§
impl Freeze for GenerateCommand
impl RefUnwindSafe for GenerateCommand
impl Send for GenerateCommand
impl Sync for GenerateCommand
impl Unpin for GenerateCommand
impl UnsafeUnpin for GenerateCommand
impl UnwindSafe for GenerateCommand
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.