Trait rerun::external::re_data_ui::DataUi
source · pub trait DataUi {
// Required method
fn data_ui(
&self,
ctx: &ViewerContext<'_>,
ui: &mut Ui,
ui_layout: UiLayout,
query: &LatestAtQuery,
db: &EntityDb
);
// Provided method
fn data_ui_recording(
&self,
ctx: &ViewerContext<'_>,
ui: &mut Ui,
ui_layout: UiLayout
) { ... }
}
Required Methods§
sourcefn data_ui(
&self,
ctx: &ViewerContext<'_>,
ui: &mut Ui,
ui_layout: UiLayout,
query: &LatestAtQuery,
db: &EntityDb
)
fn data_ui( &self, ctx: &ViewerContext<'_>, ui: &mut Ui, ui_layout: UiLayout, query: &LatestAtQuery, db: &EntityDb )
If you need to lookup something in the chunk store, use the given query to do so.
Provided Methods§
sourcefn data_ui_recording(
&self,
ctx: &ViewerContext<'_>,
ui: &mut Ui,
ui_layout: UiLayout
)
fn data_ui_recording( &self, ctx: &ViewerContext<'_>, ui: &mut Ui, ui_layout: UiLayout )
Called Self::data_ui
using the default query and recording.