pub struct CmdBuilder { /* private fields */ }Expand description
Builder for Cmd.
Implementations§
Source§impl CmdBuilder
impl CmdBuilder
Sourcepub fn builder() -> Self
pub fn builder() -> Self
Create empty builder. Same as CmdBuilder::default().
Sourcepub fn options<T>(&mut self, options: T) -> &mut Selfwhere
T: Into<CmdOptions>,
pub fn options<T>(&mut self, options: T) -> &mut Selfwhere
T: Into<CmdOptions>,
Set command options.
Trait Implementations§
Source§impl Clone for CmdBuilder
impl Clone for CmdBuilder
Source§fn clone(&self) -> CmdBuilder
fn clone(&self) -> CmdBuilder
Returns a copy of the value. Read more
1.0.0 · 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 CmdBuilder
impl Debug for CmdBuilder
Source§impl Default for CmdBuilder
impl Default for CmdBuilder
Source§fn default() -> CmdBuilder
fn default() -> CmdBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CmdBuilder
impl RefUnwindSafe for CmdBuilder
impl Send for CmdBuilder
impl Sync for CmdBuilder
impl Unpin for CmdBuilder
impl UnwindSafe for CmdBuilder
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