pub trait PackedStructDebug {
// Required methods
fn fmt_fields(&self, fmt: &mut Formatter<'_>) -> Result<(), FmtError>;
fn packed_struct_display_header() -> &'static str;
}
Required Methods§
fn fmt_fields(&self, fmt: &mut Formatter<'_>) -> Result<(), FmtError>
fn packed_struct_display_header() -> &'static str
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.