You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: mod.rs
    path of file: ./repos/UnicornConsole/unicorn-editor/src/ui/graphics/map_editor_tab
    
    the code of the file until where you have to start completion: mod map_view;
mod sprite_sheet_list;

use eframe::egui::{TextureId, Ui};


#[derive(Debug, Clone, Default)]
pub struct MapEditor {
    map_viewer: map_view::MapViewer,
    sprite_sheet_list: sprite_sheet_list::SpriteSheetList,
}

impl MapEditor {
    pub fn draw(&mut self, ui: &mut Ui, rom: &mut unicorn::core::Unicorn, scale: f32, textu
    
    pub fn draw(&mut self, ui: &mut Ui, rom: &mut unicorn::core::Unicorn, scale: f32, texture_id: TextureId) {        ui.horizontal(|ui| {
        ui.vertical(|ui| {
            ui.group(|ui| {
                ui.horizontal(|ui| {
                    self.map_viewer.draw(ui, rom, scale, texture_id, self.sprite_sheet_list.selected_idx);
                });
            });
            self.sprite_sheet_list.draw(ui, rom, scale, texture_id);
        });
    });
    }