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

Class Tick

src/ticks.rs:16–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14/// A position along an axis where a grid line and tick label is placed.
15#[derive(Debug, Clone, Copy, PartialEq)]
16pub struct Tick {
17 /// The value at this tick in world coordinates
18 pub value: f64,
19
20 /// The step size between ticks
21 pub step_size: f64,
22
23 /// The visual weight of the grid line at this tick
24 pub line_type: TickWeight,
25}
26
27impl Tick {
28 /// Create a new tick.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected