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

Method insert

src/plot/plot.rs:474–476  ·  view source on GitHub ↗
(&mut self, id: PlotId, plot: Plot)

Source from the content-addressed store, hash-verified

472 }
473
474 pub fn insert(&mut self, id: PlotId, plot: Plot) {
475 self.plots.insert(id, plot);
476 }
477
478 pub fn add(&mut self, mut plot: Plot) {
479 // generate a new id

Callers 15

extract_colored_mesh2dFunction · 0.80
pan_canvas_systemFunction · 0.80
make_color_paletteFunction · 0.80
addMethod · 0.80
hovered_on_plot_edgesMethod · 0.80
spawn_axis_tick_labelsFunction · 0.80
update_targetFunction · 0.80
change_plotFunction · 0.80
release_allFunction · 0.80
plot_pointsFunction · 0.80
prepare_instance_buffersFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected