[][src]Struct commit::CommandLine

pub struct CommandLine<'a> { /* fields omitted */ }

Methods

impl<'a> CommandLine<'a>[src]

pub fn new() -> Self[src]

pub fn register(&mut self, command: Command<'a>) -> &mut Self[src]

pub fn deregister(&mut self, command: Command<'a>)[src]

pub fn lookup(&self, name: &str) -> Option<&Command<'a>>[src]

pub fn lookup_mut(&mut self, name: &str) -> Option<&mut Command<'a>>[src]

pub fn run(&mut self, input: &str) -> ExecResult[src]

Auto Trait Implementations

impl<'a> !Send for CommandLine<'a>

impl<'a> !Sync for CommandLine<'a>

impl<'a> Unpin for CommandLine<'a>

impl<'a> UnwindSafe for CommandLine<'a>

impl<'a> !RefUnwindSafe for CommandLine<'a>

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]