#[repr(C, u8)]pub enum ScrollbarHitId {
VerticalTrack(DomId, NodeId),
VerticalThumb(DomId, NodeId),
HorizontalTrack(DomId, NodeId),
HorizontalThumb(DomId, NodeId),
}Expand description
NEW: Unique identifier for a specific component of a scrollbar.
Variants§
VerticalTrack(DomId, NodeId)
VerticalThumb(DomId, NodeId)
HorizontalTrack(DomId, NodeId)
HorizontalThumb(DomId, NodeId)
Trait Implementations§
Source§impl Clone for ScrollbarHitId
impl Clone for ScrollbarHitId
Source§fn clone(&self) -> ScrollbarHitId
fn clone(&self) -> ScrollbarHitId
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 ScrollbarHitId
impl Debug for ScrollbarHitId
Source§impl From<ScrollbarHitId> for HitTestTag
Convert from legacy ScrollbarHitId to the new type-safe system
impl From<ScrollbarHitId> for HitTestTag
Convert from legacy ScrollbarHitId to the new type-safe system
Source§fn from(legacy: ScrollbarHitId) -> Self
fn from(legacy: ScrollbarHitId) -> Self
Converts to this type from the input type.
Source§impl Hash for ScrollbarHitId
impl Hash for ScrollbarHitId
Source§impl Ord for ScrollbarHitId
impl Ord for ScrollbarHitId
Source§fn cmp(&self, other: &ScrollbarHitId) -> Ordering
fn cmp(&self, other: &ScrollbarHitId) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ScrollbarHitId
impl PartialEq for ScrollbarHitId
Source§impl PartialOrd for ScrollbarHitId
impl PartialOrd for ScrollbarHitId
Source§impl TryFrom<HitTestTag> for ScrollbarHitId
Convert from the new type-safe system to legacy ScrollbarHitId
impl TryFrom<HitTestTag> for ScrollbarHitId
Convert from the new type-safe system to legacy ScrollbarHitId
impl Copy for ScrollbarHitId
impl Eq for ScrollbarHitId
impl StructuralPartialEq for ScrollbarHitId
Auto Trait Implementations§
impl Freeze for ScrollbarHitId
impl RefUnwindSafe for ScrollbarHitId
impl Send for ScrollbarHitId
impl Sync for ScrollbarHitId
impl Unpin for ScrollbarHitId
impl UnsafeUnpin for ScrollbarHitId
impl UnwindSafe for ScrollbarHitId
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more