Skip to main content

fmt_boxed

Function fmt_boxed 

Source
pub unsafe fn fmt_boxed<T>(
    payload: ValuePayload,
    f: &mut Formatter<'_>,
) -> Result
where T: Clone + PartialEq + Display + Debug + Send + Sync + 'static,
Expand description

Heap fmt: render the boxed value.

ยงSafety

The payload must own a Box<T> exactly once.