pub trait Inspectable {
// Required methods
fn inspect(&self) -> Vec<PropertyGroup>;
fn apply_edit(
&mut self,
entry_name: &str,
serialized_value: &str,
) -> Result<(), String>;
fn type_name(&self) -> &'static str;
}Expand description
Implement this trait to make a type editable in the inspector.
Required Methods§
Sourcefn inspect(&self) -> Vec<PropertyGroup>
fn inspect(&self) -> Vec<PropertyGroup>
Returns the property groups for this type.