pub enum ScrollbarPart {
Thumb,
TrackBefore,
TrackAfter,
}Expand description
Interactive part under a pointer within one scrollbar hit region.
§Examples
use ailloli_ui_core::ScrollbarPart;
assert_ne!(ScrollbarPart::TrackBefore, ScrollbarPart::TrackAfter);Variants§
Thumb
Draggable proportional thumb.
TrackBefore
Track area before the thumb along the scrollbar’s main axis.
TrackAfter
Track area after the thumb along the scrollbar’s main axis.
Trait Implementations§
Source§impl Clone for ScrollbarPart
impl Clone for ScrollbarPart
Source§fn clone(&self) -> ScrollbarPart
fn clone(&self) -> ScrollbarPart
Returns a copy 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 ScrollbarPart
impl Debug for ScrollbarPart
Source§impl Hash for ScrollbarPart
impl Hash for ScrollbarPart
Source§impl PartialEq for ScrollbarPart
impl PartialEq for ScrollbarPart
impl Copy for ScrollbarPart
impl Eq for ScrollbarPart
impl StructuralPartialEq for ScrollbarPart
Auto Trait Implementations§
impl Freeze for ScrollbarPart
impl RefUnwindSafe for ScrollbarPart
impl Send for ScrollbarPart
impl Sync for ScrollbarPart
impl Unpin for ScrollbarPart
impl UnwindSafe for ScrollbarPart
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