Function print_bytes::print_lossy

source ·
pub fn print_lossy<T>(value: &T)where
    T: ?Sized + ToBytes,
Expand description

Prints a value to the standard output stream.

This function is similar to print! but does not take a format parameter.

For more information, see the module-level documentation.

Panics

Panics if writing to the stream fails.

Examples

use std::env;

use print_bytes::print_lossy;

print_lossy(&env::current_exe()?);