MCPcopy Create free account
hub / github.com/elftausend/graplot / new

Method new

src/plots/plot3d.rs:15–17  ·  view source on GitHub ↗
(args: A)

Source from the content-addressed store, hash-verified

13
14impl Plot3D {
15 pub fn new<A: Plot3DArg>(args: A) -> Plot3D {
16 args.as_plot()
17 }
18
19 pub fn add<A: Plot3DArg>(&mut self, args: A) {
20 let plot = args.as_plot();

Callers

nothing calls this directly

Calls 1

as_plotMethod · 0.45

Tested by

no test coverage detected