[][src]Trait lincoln_common::traits::AnyDebugDisplay

pub trait AnyDebugDisplay: Any + Debug + Display {
    fn as_any(&self) -> &dyn Any;
fn as_debug(&self) -> &dyn Debug;
fn as_display(&self) -> &dyn Display;
fn into_boxed_any(self: Box<Self>) -> Box<dyn Any>; }

A wrapper trait for wrapped values. It represents any types that are both Any and Debug.

Required methods

fn as_any(&self) -> &dyn Any

Obtain a trait object for Any

fn as_debug(&self) -> &dyn Debug

Obtain a trait object for Debug

fn as_display(&self) -> &dyn Display

Obtain a trait object for Display

fn into_boxed_any(self: Box<Self>) -> Box<dyn Any>

Turn a concret box into a box of Any

Loading content...

Implementors

impl<T> AnyDebugDisplay for T where
    T: Any + Debug + Display
[src]

Loading content...