Trait fyrox_core::reflect::GetField
source · pub trait GetField {
// Required methods
fn get_field<T: 'static>(
&self,
name: &str,
func: &mut dyn FnMut(Option<&T>)
);
fn get_field_mut<T: 'static>(
&mut self,
_name: &str,
func: &mut dyn FnMut(Option<&mut T>)
);
}
Expand description
Helper methods over Reflect
types
Required Methods§
fn get_field<T: 'static>(&self, name: &str, func: &mut dyn FnMut(Option<&T>))
fn get_field_mut<T: 'static>( &mut self, _name: &str, func: &mut dyn FnMut(Option<&mut T>) )
Object Safety§
This trait is not object safe.