Function re_data_ui::instance_path::preview_if_image_ui
source · fn preview_if_image_ui(
ctx: &ViewerContext<'_>,
ui: &mut Ui,
ui_layout: UiLayout,
query: &LatestAtQuery,
entity_path: &EntityPath,
component_map: &IntMap<ComponentName, UnitChunkShared>
) -> Option<()>
Expand description
If this entity is an image, show it together with buttons to download and copy the image.