pub struct Tick {
pub value: f64,
pub at: f64,
pub label: String,
pub sublabel: Option<String>,
}Expand description
A graduation.
Fields§
§value: f64The value, in the window’s unit.
at: f64Where it is, pixels (x for the horizontal axis, y for the vertical one).
label: StringIts text.
sublabel: Option<String>A second line of text - the other coordinate on a Coordinates axis.
Trait Implementations§
impl StructuralPartialEq for Tick
Auto Trait Implementations§
impl Freeze for Tick
impl RefUnwindSafe for Tick
impl Send for Tick
impl Sync for Tick
impl Unpin for Tick
impl UnsafeUnpin for Tick
impl UnwindSafe for Tick
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more