MetaDataAccess

Trait MetaDataAccess 

Source
pub trait MetaDataAccess {
    // Required methods
    fn get_core_options(world: &World) -> Option<&Options>;
    fn get_core_options_mut(world: &mut World) -> Option<&mut Options>;
    fn get_track_changes_str(world: &World) -> Option<&'static str>;
    fn get_label_info(world: &World) -> Option<&LabelInfo>;
    fn get_label_info_mut(world: &mut World) -> Option<&mut LabelInfo>;
    fn get_predictive_labeling_data(
        world: &World,
    ) -> Option<&PredictiveLabelingData>;
    fn get_predictive_labeling_data_mut(
        world: &mut World,
    ) -> Option<&mut PredictiveLabelingData>;
}
Expand description

Often needed meta data when accessing annotations

Required Methods§

Source

fn get_core_options(world: &World) -> Option<&Options>

Source

fn get_core_options_mut(world: &mut World) -> Option<&mut Options>

Source

fn get_track_changes_str(world: &World) -> Option<&'static str>

Source

fn get_label_info(world: &World) -> Option<&LabelInfo>

Source

fn get_label_info_mut(world: &mut World) -> Option<&mut LabelInfo>

Source

fn get_predictive_labeling_data( world: &World, ) -> Option<&PredictiveLabelingData>

Source

fn get_predictive_labeling_data_mut( world: &mut World, ) -> Option<&mut PredictiveLabelingData>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§