pub struct Tooltip { /* private fields */ }
Implementations§
Source§impl Tooltip
impl Tooltip
pub fn new() -> Self
pub fn trigger<T: Into<Trigger>>(self, trigger: T) -> Self
pub fn trigger_on<T: Into<TriggerOn>>(self, trigger_on: T) -> Self
pub fn axis_pointer<A: Into<AxisPointer>>(self, axis_pointer: A) -> Self
pub fn formatter<F: Into<Formatter>>(self, formatter: F) -> Self
pub fn position<S: Into<String>>(self, position: S) -> Self
pub fn padding<P: Into<Padding>>(self, padding: P) -> Self
pub fn background_color<C: Into<Color>>(self, background_color: C) -> Self
pub fn border_color<C: Into<Color>>(self, border_color: C) -> Self
pub fn border_width<F: Into<i64>>(self, border_width: F) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Tooltip
impl RefUnwindSafe for Tooltip
impl Send for Tooltip
impl Sync for Tooltip
impl Unpin for Tooltip
impl UnwindSafe for Tooltip
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