Struct native_windows_gui::TooltipBuilder
source · [−]pub struct TooltipBuilder<'a> { /* private fields */ }
Implementations
sourceimpl<'a> TooltipBuilder<'a>
impl<'a> TooltipBuilder<'a>
pub fn register<W: Into<ControlHandle>>(
self,
widget: W,
text: &'a str
) -> TooltipBuilder<'a>
pub fn register_callback<W: Into<ControlHandle>>(
self,
widget: W
) -> TooltipBuilder<'a>
pub fn decoration(
self,
title: Option<&'a str>,
ico: Option<&'a Icon>
) -> TooltipBuilder<'a>
pub fn default_decoration(
self,
title: Option<&'a str>,
ico: Option<TooltipIcon>
) -> TooltipBuilder<'a>
pub fn build(self, tooltip: &mut Tooltip) -> Result<(), NwgError>
Auto Trait Implementations
impl<'a> RefUnwindSafe for TooltipBuilder<'a>
impl<'a> !Send for TooltipBuilder<'a>
impl<'a> !Sync for TooltipBuilder<'a>
impl<'a> Unpin for TooltipBuilder<'a>
impl<'a> UnwindSafe for TooltipBuilder<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more