pub struct Tick {
pub value: f64,
pub label: String,
pub major: bool,
}Expand description
One tick: its position in scaled space, its label, and whether it is a major tick.
Fields§
§value: f64Position in scaled space.
label: StringThe formatted label (empty for unlabeled minors).
major: boolWhether the tick gets a label and a major grid line.
Trait Implementations§
impl StructuralPartialEq for Tick
Auto Trait Implementations§
impl Forget for Tick
impl Freeze for Tick
impl Move for Tick
impl RefUnwindSafe for Tick
impl Send for Tickwhere
RawVecInner: Send,
impl Sync for Tickwhere
RawVecInner: Sync,
impl Unpin for Tick
impl UnsafeUnpin for Tick
impl UnwindSafe for Tickwhere
RawVecInner: UnwindSafe,
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