pub struct GridTooltip { /* private fields */ }
Implementations§
Source§impl GridTooltip
impl GridTooltip
pub fn new() -> Self
pub fn show(self, show: bool) -> Self
pub fn trigger<T: Into<Trigger>>(self, trigger: T) -> Self
pub fn position<S: Into<String>>(self, position: (S, S)) -> Self
pub fn formatter<S: Into<String>>(self, formatter: S) -> Self
pub fn value_formatter<S: Into<String>>(self, value_formatter: S) -> 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
pub fn padding<P: Into<Padding>>(self, padding: P) -> Self
pub fn text_style<T: Into<TextStyle>>(self, text_style: T) -> Self
pub fn extra_css_text<S: Into<String>>(self, extra_css_text: S) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GridTooltip
impl RefUnwindSafe for GridTooltip
impl Send for GridTooltip
impl Sync for GridTooltip
impl Unpin for GridTooltip
impl UnwindSafe for GridTooltip
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