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

Method then

src/transform.rs:39–45  ·  view source on GitHub ↗
(self, next: TransformOperation)

Source from the content-addressed store, hash-verified

37
38impl TransformOperation {
39 fn then(self, next: TransformOperation) -> Self {
40 match (self, next) {
41 (Self::Identity, next) => next,
42 (this, Self::Identity) => this,
43 (this, next) => Self::Then(Box::new(this), Box::new(next)),
44 }
45 }
46
47 fn transform_value(&self, value: f64) -> Option<f64> {
48 match self {

Callers 8

invertedMethod · 0.80
rebuild_from_widgetMethod · 0.80
scroll_actionMethod · 0.80
update_plot_programFunction · 0.80
newFunction · 0.80

Calls 1

newFunction · 0.50