pub struct AxisPointer { /* private fields */ }
Expand description
Axis Pointer is a tool for displaying reference line and axis value under mouse pointer.
Implementations§
Source§impl AxisPointer
impl AxisPointer
pub fn new() -> Self
pub fn id<S: Into<String>>(self, id: S) -> Self
pub fn show(self, show: bool) -> Self
pub fn type_<A: Into<AxisPointerType>>(self, type_: A) -> Self
pub fn snap(self, snap: bool) -> Self
pub fn animation(self, animation: bool) -> Self
pub fn z<F: Into<i64>>(self, z: F) -> Self
pub fn axis<A: Into<AxisPointerAxis>>(self, axis: A) -> Self
pub fn label<A: Into<Label>>(self, label: A) -> Self
pub fn line_style<A: Into<LineStyle>>(self, line_style: A) -> Self
pub fn link<A: Into<AxisPointerLink>>(self, link: Vec<A>) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AxisPointer
impl RefUnwindSafe for AxisPointer
impl Send for AxisPointer
impl Sync for AxisPointer
impl Unpin for AxisPointer
impl UnwindSafe for AxisPointer
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more