Skip to main content

InspectExt

Trait InspectExt 

Source
pub trait InspectExt: Inspect {
    // Provided method
    fn inspect(&self) -> LaidOut<'_>
       where Self: Sized { ... }
}
Expand description

inspect() on anything that can list its fields.

Provided Methods§

Source

fn inspect(&self) -> LaidOut<'_>
where Self: Sized,

This struct as a table, for showing to a person.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§