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

Method from

src/transform.rs:111–116  ·  view source on GitHub ↗
(scale: AxisScale)

Source from the content-addressed store, hash-verified

109
110impl From<AxisScale> for Transform {
111 fn from(scale: AxisScale) -> Self {
112 match scale {
113 AxisScale::Linear => Self::identity(),
114 AxisScale::Log { base } => Self::log(base),
115 }
116 }
117}
118
119impl Transform {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected