Struct shell::Shell
[-] [+]
[src]
pub struct Shell { // some fields omitted }
pub struct Shell { // some fields omitted }
impl Shell
fn create(out: Box<Write + Send>, config: ShellConfig) -> Shell
fn verbose<F>(&mut self, callback: F) -> Result<()> where F: FnMut(&mut Shell) -> Result<()>
fn concise<F>(&mut self, callback: F) -> Result<()> where F: FnMut(&mut Shell) -> Result<()>
fn say<T: ToString>(&mut self, message: T, color: Color) -> Result<()>
fn say_status<T, U>(&mut self, status: T, message: U, color: Color) -> Result<()> where T: Display, U: Display
impl Write for Shell
fn write(&mut self, buf: &[u8]) -> Result<usize>
fn flush(&mut self) -> Result<()>
fn write_all(&mut self, buf: &[u8]) -> Result<(), Error>
fn write_fmt(&mut self, fmt: Arguments) -> Result<(), Error>
fn by_ref(&mut self) -> &mut Self
fn broadcast<W>(self, other: W) -> Broadcast<Self, W> where W: Write
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
, enum
,
trait
, typedef
(or
tdef
).