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

Method new

src/transform.rs:239–241  ·  view source on GitHub ↗

Create a new x/y transform pair.

(x: Option<Transform>, y: Option<Transform>)

Source from the content-addressed store, hash-verified

237impl PositionTransform {
238 /// Create a new x/y transform pair.
239 pub fn new(x: Option<Transform>, y: Option<Transform>) -> Self {
240 Self { x, y }
241 }
242
243 /// Use normal data coordinates for both axes.
244 pub const fn identity() -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected