pub enum TooltipSide {
Top,
Right,
Bottom,
Left,
}Expand description
Tooltip side — maps to data-side attribute on the trigger element.
Upstream basecoat implements tooltips purely via CSS using data-tooltip
and data-side attributes — no JS controller needed.
Variants§
Trait Implementations§
Source§impl Clone for TooltipSide
impl Clone for TooltipSide
Source§fn clone(&self) -> TooltipSide
fn clone(&self) -> TooltipSide
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TooltipSide
impl Debug for TooltipSide
Source§impl Default for TooltipSide
impl Default for TooltipSide
Source§fn default() -> TooltipSide
fn default() -> TooltipSide
Returns the “default value” for a type. Read more
Source§impl Display for TooltipSide
impl Display for TooltipSide
Source§impl PartialEq for TooltipSide
impl PartialEq for TooltipSide
Source§fn eq(&self, other: &TooltipSide) -> bool
fn eq(&self, other: &TooltipSide) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for TooltipSide
impl StructuralPartialEq for TooltipSide
Auto Trait Implementations§
impl Freeze for TooltipSide
impl RefUnwindSafe for TooltipSide
impl Send for TooltipSide
impl Sync for TooltipSide
impl Unpin for TooltipSide
impl UnsafeUnpin for TooltipSide
impl UnwindSafe for TooltipSide
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