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

Class PositionedTick

src/ticks.rs:7–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5/// A tick with an assigned screen position.
6#[derive(Debug, Clone, PartialEq)]
7pub struct PositionedTick {
8 /// Screen position (x for vertical ticks, y for horizontal ticks)
9 pub screen_pos: f32,
10 /// The tick itself.
11 pub tick: Tick,
12}
13
14/// A position along an axis where a grid line and tick label is placed.
15#[derive(Debug, Clone, Copy, PartialEq)]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected