pub struct TooltipPropsBuilder { /* private fields */ }Implementations§
Source§impl TooltipPropsBuilder
impl TooltipPropsBuilder
pub fn content(self, val: impl Into<Cow<'static, str>>) -> Self
pub fn side(self, val: TooltipSide) -> Self
pub fn class(self, val: impl Into<Option<Cow<'static, str>>>) -> Self
pub fn attrs(self, val: AttrMap) -> Self
pub fn children(self, val: Children) -> Self
pub fn build(self) -> TooltipProps
Trait Implementations§
Source§impl From<TooltipPropsBuilder> for TooltipProps
impl From<TooltipPropsBuilder> for TooltipProps
Source§fn from(b: TooltipPropsBuilder) -> Self
fn from(b: TooltipPropsBuilder) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for TooltipPropsBuilder
impl RefUnwindSafe for TooltipPropsBuilder
impl Send for TooltipPropsBuilder
impl Sync for TooltipPropsBuilder
impl Unpin for TooltipPropsBuilder
impl UnsafeUnpin for TooltipPropsBuilder
impl UnwindSafe for TooltipPropsBuilder
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