A format specification, wrapping an inner value.
Trait Implementations
impl Clone
for Format
Clone the specified value
.
Examples
let a = 42;
let b = a;
let c = a.clone;
a += 1;
assert_eq!;
assert_eq!;
assert_eq!;
Protocols
protocol DISPLAY_FMT
format!
Write a display representation of a format specification.
Examples
let value = format!;
assert_eq!;
protocol DEBUG_FMT
format!
Write a debug representation of a format specification.
Examples
let value = format!;
let string = format!;
assert!;
protocol CLONE
let $out = clone
Clones a format specification.
Examples
let value = format!;
let vlaue2 = value.clone;
assert_eq!;