Skip to main content

reflect_fields

Function reflect_fields 

Source
pub fn reflect_fields(reflected: &dyn Reflect) -> Vec<(&'static str, String)>
Expand description

Walk a reflected struct’s fields and produce (name, display) pairs suitable for the inspector’s property pane. Public so callers can build the same typed dump for ad-hoc reflectable values (e.g. a debug hover inspector outside the widget tree).