pub enum TooltipSide {
Top,
Bottom,
Left,
Right,
}Expand description
Where the tooltip opens relative to its trigger.
The chosen side is honoured even when there’s not enough room on that side; pick the side with care for triggers near the viewport edge.
Variants§
Top
Above the trigger; arrow points down. The default.
Bottom
Below the trigger; arrow points up.
Left
Left of the trigger; arrow points right.
Right
Right of the trigger; arrow points left.
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 · 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 PartialEq for TooltipSide
impl PartialEq for TooltipSide
impl Copy for TooltipSide
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