[−][src]Trait lark_debug_with::FmtWithSpecialized
Useful trait for writing DebugWith
implementations that are
specialized to different contexts. Just derive Debug
and use the
macro debug_specialized_impl
; then you can implement
FmtWithSpecialized<Cx>
for various specialized contexts as you
choose.
Required methods
fn fmt_with_specialized(&self, cx: &Cx, fmt: &mut Formatter) -> Result
Implementors
impl<Cx: ?Sized, T: ?Sized> FmtWithSpecialized<Cx> for T where
T: Debug,
[src]
impl<Cx: ?Sized, T: ?Sized> FmtWithSpecialized<Cx> for T where
T: Debug,
fn fmt_with_specialized(&self, _cx: &Cx, fmt: &mut Formatter) -> Result | [src] |