MCPcopy Create free account
hub / github.com/donkeyteethUX/iced_plot / write_position

Method write_position

src/plot_renderer/shader.rs:232–235  ·  view source on GitHub ↗
(&mut self, pos: [f32; 2])

Source from the content-addressed store, hash-verified

230 Self {
231 data: Vec::with_capacity(capacity),
232 }
233 }
234
235 fn write_f32(&mut self, value: f32) {
236 self.data.extend_from_slice(&value.to_le_bytes());
237 }
238

Callers 4

write_line_vertexMethod · 0.80
rebuild_markersMethod · 0.80
rebuild_fillsMethod · 0.80
rebuild_highlightMethod · 0.80

Calls 1

write_f32Method · 0.80

Tested by

no test coverage detected