MetaBundle

Trait MetaBundle 

Source
pub trait MetaBundle {
    // Required methods
    fn get_field(&self, idx: usize) -> Option<&dyn Any>;
    fn get_field_mut(&mut self, idx: usize) -> Option<&mut dyn Any>;
}
Expand description

Utility trait for erasing structs.

Required Methods§

Source

fn get_field(&self, idx: usize) -> Option<&dyn Any>

Source

fn get_field_mut(&mut self, idx: usize) -> Option<&mut dyn Any>

Implementors§