pub trait Printable {
    // Required method
    fn print(&self);
}
Expand description

Trait for things which can be printed from the runtime.

Required Methods§

source

fn print(&self)

Print the object.

Implementations on Foreign Types§

source§

impl<TupleElement0: Printable, TupleElement1: Printable> Printable for (TupleElement0, TupleElement1)

source§

fn print(&self)

source§

impl<T: Printable> Printable for &T

source§

fn print(&self)

source§

impl Printable for bool

source§

fn print(&self)

source§

impl<TupleElement0: Printable, TupleElement1: Printable, TupleElement2: Printable, TupleElement3: Printable, TupleElement4: Printable, TupleElement5: Printable, TupleElement6: Printable, TupleElement7: Printable, TupleElement8: Printable> Printable for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8)

source§

fn print(&self)

source§

impl Printable for Weight

source§

fn print(&self)

source§

impl<TupleElement0: Printable, TupleElement1: Printable, TupleElement2: Printable, TupleElement3: Printable, TupleElement4: Printable> Printable for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4)

source§

fn print(&self)

source§

impl<TupleElement0: Printable, TupleElement1: Printable, TupleElement2: Printable> Printable for (TupleElement0, TupleElement1, TupleElement2)

source§

fn print(&self)

source§

impl<TupleElement0: Printable, TupleElement1: Printable, TupleElement2: Printable, TupleElement3: Printable, TupleElement4: Printable, TupleElement5: Printable, TupleElement6: Printable> Printable for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6)

source§

fn print(&self)

source§

impl<TupleElement0: Printable, TupleElement1: Printable, TupleElement2: Printable, TupleElement3: Printable, TupleElement4: Printable, TupleElement5: Printable> Printable for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5)

source§

fn print(&self)

source§

impl Printable for u8

source§

fn print(&self)

source§

impl<TupleElement0: Printable, TupleElement1: Printable, TupleElement2: Printable, TupleElement3: Printable> Printable for (TupleElement0, TupleElement1, TupleElement2, TupleElement3)

source§

fn print(&self)

source§

impl Printable for u32

source§

fn print(&self)

source§

impl Printable for u64

source§

fn print(&self)

source§

impl<TupleElement0: Printable, TupleElement1: Printable, TupleElement2: Printable, TupleElement3: Printable, TupleElement4: Printable, TupleElement5: Printable, TupleElement6: Printable, TupleElement7: Printable, TupleElement8: Printable, TupleElement9: Printable, TupleElement10: Printable, TupleElement11: Printable> Printable for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10, TupleElement11)

source§

fn print(&self)

source§

impl<TupleElement0: Printable, TupleElement1: Printable, TupleElement2: Printable, TupleElement3: Printable, TupleElement4: Printable, TupleElement5: Printable, TupleElement6: Printable, TupleElement7: Printable, TupleElement8: Printable, TupleElement9: Printable> Printable for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9)

source§

fn print(&self)

source§

impl<TupleElement0: Printable, TupleElement1: Printable, TupleElement2: Printable, TupleElement3: Printable, TupleElement4: Printable, TupleElement5: Printable, TupleElement6: Printable, TupleElement7: Printable, TupleElement8: Printable, TupleElement9: Printable, TupleElement10: Printable> Printable for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7, TupleElement8, TupleElement9, TupleElement10)

source§

fn print(&self)

source§

impl Printable for &str

source§

fn print(&self)

source§

impl<TupleElement0: Printable, TupleElement1: Printable, TupleElement2: Printable, TupleElement3: Printable, TupleElement4: Printable, TupleElement5: Printable, TupleElement6: Printable, TupleElement7: Printable> Printable for (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7)

source§

fn print(&self)

source§

impl Printable for ()

source§

fn print(&self)

source§

impl<const N: usize> Printable for [u8; N]

source§

fn print(&self)

source§

impl Printable for usize

source§

fn print(&self)

source§

impl<TupleElement0: Printable> Printable for (TupleElement0,)

source§

fn print(&self)

source§

impl Printable for &[u8]

source§

fn print(&self)

Implementors§