Struct pretty_exec::Logger
source · [−]pub struct Logger<'a, Method, Prompt, Program, Arguments>where
Method: ?Sized,
Prompt: ?Sized,
Program: ?Sized,
Arguments: ?Sized,{
pub method: &'a Method,
pub prompt: &'a Prompt,
pub program: &'a Program,
pub arguments: &'a Arguments,
}
Fields
method: &'a Method
prompt: &'a Prompt
program: &'a Program
arguments: &'a Arguments
Implementations
Trait Implementations
sourceimpl<'a, Prompt, Program, Arguments> Display for Logger<'a, GroupClosing, Prompt, Program, Arguments>where
Prompt: ?Sized,
Program: ?Sized,
Arguments: ?Sized,
impl<'a, Prompt, Program, Arguments> Display for Logger<'a, GroupClosing, Prompt, Program, Arguments>where
Prompt: ?Sized,
Program: ?Sized,
Arguments: ?Sized,
sourceimpl<'a, Fmt, Prompt, Program, Arguments> Display for Logger<'a, GroupOpening<Fmt>, Prompt, Program, Arguments>where
Logger<'a, Fmt, Prompt, Program, Arguments>: Display,
Prompt: ?Sized,
Program: ?Sized,
Arguments: ?Sized,
impl<'a, Fmt, Prompt, Program, Arguments> Display for Logger<'a, GroupOpening<Fmt>, Prompt, Program, Arguments>where
Logger<'a, Fmt, Prompt, Program, Arguments>: Display,
Prompt: ?Sized,
Program: ?Sized,
Arguments: ?Sized,
sourceimpl<'a, Prompt, Program, Arguments> Display for Logger<'a, SyntaxHighLight, Prompt, Program, Arguments>where
&'a Prompt: AsRef<str>,
&'a Program: AsRef<OsStr>,
&'a Arguments: IntoIterator,
<&'a Arguments as IntoIterator>::Item: AsRef<OsStr>,
Prompt: ?Sized,
Program: ?Sized,
Arguments: ?Sized,
impl<'a, Prompt, Program, Arguments> Display for Logger<'a, SyntaxHighLight, Prompt, Program, Arguments>where
&'a Prompt: AsRef<str>,
&'a Program: AsRef<OsStr>,
&'a Arguments: IntoIterator,
<&'a Arguments as IntoIterator>::Item: AsRef<OsStr>,
Prompt: ?Sized,
Program: ?Sized,
Arguments: ?Sized,
sourceimpl<'a, Prompt, Program, Arguments> Log for Logger<'a, GroupClosing, Prompt, Program, Arguments>where
Prompt: ?Sized,
Program: ?Sized,
Arguments: ?Sized,
impl<'a, Prompt, Program, Arguments> Log for Logger<'a, GroupClosing, Prompt, Program, Arguments>where
Prompt: ?Sized,
Program: ?Sized,
Arguments: ?Sized,
sourceimpl<'a, Fmt, Prompt, Program, Arguments> Log for Logger<'a, GroupOpening<Fmt>, Prompt, Program, Arguments>where
Logger<'a, Fmt, Prompt, Program, Arguments>: Display,
Prompt: ?Sized,
Program: ?Sized,
Arguments: ?Sized,
impl<'a, Fmt, Prompt, Program, Arguments> Log for Logger<'a, GroupOpening<Fmt>, Prompt, Program, Arguments>where
Logger<'a, Fmt, Prompt, Program, Arguments>: Display,
Prompt: ?Sized,
Program: ?Sized,
Arguments: ?Sized,
sourceimpl<'a, Prompt, Program, Arguments> Log for Logger<'a, Nothing, Prompt, Program, Arguments>where
Prompt: ?Sized,
Program: ?Sized,
Arguments: ?Sized,
impl<'a, Prompt, Program, Arguments> Log for Logger<'a, Nothing, Prompt, Program, Arguments>where
Prompt: ?Sized,
Program: ?Sized,
Arguments: ?Sized,
Auto Trait Implementations
impl<'a, Method: ?Sized, Prompt: ?Sized, Program: ?Sized, Arguments: ?Sized> RefUnwindSafe for Logger<'a, Method, Prompt, Program, Arguments>where
Arguments: RefUnwindSafe,
Method: RefUnwindSafe,
Program: RefUnwindSafe,
Prompt: RefUnwindSafe,
impl<'a, Method: ?Sized, Prompt: ?Sized, Program: ?Sized, Arguments: ?Sized> Send for Logger<'a, Method, Prompt, Program, Arguments>where
Arguments: Sync,
Method: Sync,
Program: Sync,
Prompt: Sync,
impl<'a, Method: ?Sized, Prompt: ?Sized, Program: ?Sized, Arguments: ?Sized> Sync for Logger<'a, Method, Prompt, Program, Arguments>where
Arguments: Sync,
Method: Sync,
Program: Sync,
Prompt: Sync,
impl<'a, Method: ?Sized, Prompt: ?Sized, Program: ?Sized, Arguments: ?Sized> Unpin for Logger<'a, Method, Prompt, Program, Arguments>
impl<'a, Method: ?Sized, Prompt: ?Sized, Program: ?Sized, Arguments: ?Sized> UnwindSafe for Logger<'a, Method, Prompt, Program, Arguments>where
Arguments: RefUnwindSafe,
Method: RefUnwindSafe,
Program: RefUnwindSafe,
Prompt: RefUnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<X> Pipe for X
impl<X> Pipe for X
fn pipe_ref<'a, Return, Function>(&'a self, f: Function) -> Returnwhere
Function: FnOnce(&'a Self) -> Return,
fn pipe_ref<'a, Return, Function>(&'a self, f: Function) -> Returnwhere
Function: FnOnce(&'a Self) -> Return,
fn pipe_mut<'a, Return, Function>(&'a mut self, f: Function) -> Returnwhere
Function: FnOnce(&'a mut Self) -> Return,
fn pipe_mut<'a, Return, Function>(&'a mut self, f: Function) -> Returnwhere
Function: FnOnce(&'a mut Self) -> Return,
fn pipe_as_ref<'a, Param, Return, Function>(&'a self, f: Function) -> Returnwhere
Self: AsRef<Param>,
Param: 'a + ?Sized,
Function: FnOnce(&'a Param) -> Return,
fn pipe_as_ref<'a, Param, Return, Function>(&'a self, f: Function) -> Returnwhere
Self: AsRef<Param>,
Param: 'a + ?Sized,
Function: FnOnce(&'a Param) -> Return,
Apply
f
to &self
where f
takes a single parameter of type Param
and Self
implements trait AsRef<Param>
. Read morefn pipe_as_mut<'a, Param, Return, Function>(&'a mut self, f: Function) -> Returnwhere
Self: AsMut<Param>,
Param: 'a + ?Sized,
Function: FnOnce(&'a mut Param) -> Return,
fn pipe_as_mut<'a, Param, Return, Function>(&'a mut self, f: Function) -> Returnwhere
Self: AsMut<Param>,
Param: 'a + ?Sized,
Function: FnOnce(&'a mut Param) -> Return,
Apply
f
to &mut self
where f
takes a single parameter of type Param
and Self
implements trait AsMut<Param>
. Read morefn pipe_deref<'a, Param, Return, Function>(&'a self, f: Function) -> Returnwhere
Self: Deref<Target = Param>,
Param: 'a + ?Sized,
Function: FnOnce(&'a Param) -> Return,
fn pipe_deref<'a, Param, Return, Function>(&'a self, f: Function) -> Returnwhere
Self: Deref<Target = Param>,
Param: 'a + ?Sized,
Function: FnOnce(&'a Param) -> Return,
Apply
f
to &self
where f
takes a single parameter of type Param
and Self
implements trait Deref<Target = Param>
. Read morefn pipe_deref_mut<'a, Param, Return, Function>(
&'a mut self,
f: Function
) -> Returnwhere
Self: DerefMut<Target = Param>,
Param: 'a + ?Sized,
Function: FnOnce(&'a mut Param) -> Return,
fn pipe_deref_mut<'a, Param, Return, Function>(
&'a mut self,
f: Function
) -> Returnwhere
Self: DerefMut<Target = Param>,
Param: 'a + ?Sized,
Function: FnOnce(&'a mut Param) -> Return,
Apply
f
to &mut self
where f
takes a single parameter of type Param
and Self
implements trait [DerefMut<Target = Param>
]. Read morefn pipe_borrow<'a, Param, Return, Function>(&'a self, f: Function) -> Returnwhere
Self: Borrow<Param>,
Param: 'a + ?Sized,
Function: FnOnce(&'a Param) -> Return,
fn pipe_borrow<'a, Param, Return, Function>(&'a self, f: Function) -> Returnwhere
Self: Borrow<Param>,
Param: 'a + ?Sized,
Function: FnOnce(&'a Param) -> Return,
Apply
f
to &self
where f
takes a single parameter of type Param
and Self
implements trait Borrow<Param>
. Read morefn pipe_borrow_mut<'a, Param, Return, Function>(
&'a mut self,
f: Function
) -> Returnwhere
Self: BorrowMut<Param>,
Param: 'a + ?Sized,
Function: FnOnce(&'a mut Param) -> Return,
fn pipe_borrow_mut<'a, Param, Return, Function>(
&'a mut self,
f: Function
) -> Returnwhere
Self: BorrowMut<Param>,
Param: 'a + ?Sized,
Function: FnOnce(&'a mut Param) -> Return,
Apply
f
to &mut self
where f
takes a single parameter of type Param
and Self
implements trait BorrowMut<Param>
. Read more