Skip to main content

Reflect

Trait Reflect 

Source
pub trait Reflect {
    const TYPE_NAME: &'static str;
    const SHAPE: TypeShape;
}
Available on crate feature reflection only.
Expand description

Compile-time structural reflection without runtime registration or allocation.

Required Associated Constants§

Source

const TYPE_NAME: &'static str

Fully qualified declared type name.

Source

const SHAPE: TypeShape

Static structural metadata.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§