A trait for debug formatting, using the empty format ({:?}).

Signature

pub trait Debug

Examples

let word: ByteArray = "123";
println!("{:?}", word);

Trait functions

fmt

Signature

fn fmt(self: @T, ref f: Formatter) -> Result