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

Method new

src/plots/plot.rs:18–20  ·  view source on GitHub ↗
(args: impl PlotArg)

Source from the content-addressed store, hash-verified

16
17impl Plot {
18 pub fn new(args: impl PlotArg) -> Plot {
19 args.as_plot()
20 }
21
22 pub fn set_desc(&mut self, desc: Desc) {
23 self.desc = desc;

Callers

nothing calls this directly

Calls 1

as_plotMethod · 0.45

Tested by

no test coverage detected