Function sval::stream_display_fragments
source · pub fn stream_display_fragments<'sval>(
stream: &mut impl Stream<'sval> + ?Sized,
value: impl Display
) -> Result
Expand description
Stream a fmt::Display
as text fragments into a Stream
, without calling Stream::text_begin
or Stream::text_end
.
This function can be used to stream a part of a larger value.