MCPcopy Index your code
hub / github.com/eliotbo/bevy_plot / get_mut

Method get_mut

src/plot/plot.rs:470–472  ·  view source on GitHub ↗
(&mut self, id: &u32)

Source from the content-addressed store, hash-verified

468 }
469
470 pub fn get_mut(&mut self, id: &u32) -> Option<&mut Plot> {
471 self.plots.get_mut(id)
472 }
473
474 pub fn insert(&mut self, id: PlotId, plot: Plot) {
475 self.plots.insert(id, plot);

Callers 15

queue_colored_mesh2dFunction · 0.80
update_canvas_mouse_posFunction · 0.80
pan_canvas_systemFunction · 0.80
zoom_canvas_systemFunction · 0.80
update_timeFunction · 0.80
toggle_featuresFunction · 0.80
update_targetFunction · 0.80
update_plot_labelsFunction · 0.80
spawn_graphFunction · 0.80
update_mouse_targetFunction · 0.80
change_plotFunction · 0.80
adjust_graph_sizeFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected