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.