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

Method identity

src/transform.rs:121–126  ·  view source on GitHub ↗

Leave a data value unchanged before the axis scale is applied.

()

Source from the content-addressed store, hash-verified

119impl Transform {
120 /// Leave a data value unchanged before the axis scale is applied.
121 pub const fn identity() -> Self {
122 Self {
123 coordinate_system: CoordinateSystem::Data,
124 operation: TransformOperation::Identity,
125 }
126 }
127
128 /// Interpret values as normalized positions inside the plot area.
129 ///

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected