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

Method new

src/point.rs:43–49  ·  view source on GitHub ↗
(x: f64, y: f64, size: f32)

Source from the content-addressed store, hash-verified

41
42impl Point {
43 pub fn new(x: f64, y: f64, size: f32) -> Self {
44 Self {
45 position: [x, y],
46 size,
47 size_mode: MARKER_SIZE_PIXELS,
48 }
49 }
50
51 pub fn new_world(x: f64, y: f64, size: f64) -> Self {
52 Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected