Enum titanium::desktop::gui::libdruid::scroll_component::BarHeldState
pub enum BarHeldState {
None,
Vertical(f64),
Horizontal(f64),
}
Expand description
Denotes which scrollbar, if any, is currently being dragged.
Variants§
None
Neither scrollbar is being dragged.
Vertical(f64)
Vertical scrollbar is being dragged. Contains an f64
with
the initial y-offset of the dragging input.
Horizontal(f64)
Horizontal scrollbar is being dragged. Contains an f64
with
the initial x-offset of the dragging input.
Trait Implementations§
§impl Clone for BarHeldState
impl Clone for BarHeldState
§fn clone(&self) -> BarHeldState
fn clone(&self) -> BarHeldState
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 more§impl Debug for BarHeldState
impl Debug for BarHeldState
impl Copy for BarHeldState
Auto Trait Implementations§
impl RefUnwindSafe for BarHeldState
impl Send for BarHeldState
impl Sync for BarHeldState
impl Unpin for BarHeldState
impl UnwindSafe for BarHeldState
Blanket Implementations§
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> RoundFrom<T> for T
impl<T> RoundFrom<T> for T
§fn round_from(x: T) -> T
fn round_from(x: T) -> T
Performs the conversion.
§impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere U: RoundFrom<T>,
§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.