Struct icecream::formatter::Formatter
[−]
[src]
pub struct Formatter { pub sep: String, pub arrow: String, pub eq: String, }
Fields
sep: String
arrow: String
eq: String
Methods
impl Formatter
[src]
pub fn ic(&self, line: u32, file_path: &str) -> String
[src]
pub fn ic_expr<T: Debug>(
&self,
val: &T,
expr: &str,
line: u32,
file_path: &str
) -> String
[src]
&self,
val: &T,
expr: &str,
line: u32,
file_path: &str
) -> String
pub fn ice(&self, li: ParsedBacktrace) -> String
[src]
pub fn ice_expr<T: Debug>(
&self,
var: &T,
name: &str,
li: ParsedBacktrace
) -> String
[src]
&self,
var: &T,
name: &str,
li: ParsedBacktrace
) -> String