pub struct ScrollbarState {
pub rect: ThemeRect,
pub orientation: ScrollbarOrientation,
pub enabled: bool,
pub value: i16,
pub min: i16,
pub max: i16,
pub highlighted_part: ScrollbarPart,
}Fields§
§rect: ThemeRect§orientation: ScrollbarOrientation§enabled: bool§value: i16§min: i16§max: i16§highlighted_part: ScrollbarPartTrait Implementations§
Source§impl Clone for ScrollbarState
impl Clone for ScrollbarState
Source§fn clone(&self) -> ScrollbarState
fn clone(&self) -> ScrollbarState
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 moreimpl Copy for ScrollbarState
Source§impl Debug for ScrollbarState
impl Debug for ScrollbarState
impl Eq for ScrollbarState
Source§impl PartialEq for ScrollbarState
impl PartialEq for ScrollbarState
Source§fn eq(&self, other: &ScrollbarState) -> bool
fn eq(&self, other: &ScrollbarState) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ScrollbarState
Auto Trait Implementations§
impl Freeze for ScrollbarState
impl RefUnwindSafe for ScrollbarState
impl Send for ScrollbarState
impl Sync for ScrollbarState
impl Unpin for ScrollbarState
impl UnsafeUnpin for ScrollbarState
impl UnwindSafe for ScrollbarState
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,
impl<S, T> Duplex<S> for Twhere
T: FromSample<S> + ToSample<S>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.