Skip to main content

fmt_shared

Function fmt_shared 

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

Shared-heap fmt: render the shared value.

ยงSafety

The payload must co-own an Arc<T> buffer.