#[repr(C)]pub struct ScrollbarColorCustom {
pub thumb: ColorU,
pub track: ColorU,
}Expand description
Wrapper struct for custom scrollbar colors (thumb and track)
Fields§
§thumb: ColorU§track: ColorUTrait Implementations§
Source§impl Clone for ScrollbarColorCustom
impl Clone for ScrollbarColorCustom
Source§fn clone(&self) -> ScrollbarColorCustom
fn clone(&self) -> ScrollbarColorCustom
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 ScrollbarColorCustom
impl Debug for ScrollbarColorCustom
Source§impl Hash for ScrollbarColorCustom
impl Hash for ScrollbarColorCustom
Source§impl Ord for ScrollbarColorCustom
impl Ord for ScrollbarColorCustom
Source§fn cmp(&self, other: &ScrollbarColorCustom) -> Ordering
fn cmp(&self, other: &ScrollbarColorCustom) -> 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 ScrollbarColorCustom
impl PartialEq for ScrollbarColorCustom
Source§impl PartialOrd for ScrollbarColorCustom
impl PartialOrd for ScrollbarColorCustom
impl Copy for ScrollbarColorCustom
impl Eq for ScrollbarColorCustom
impl StructuralPartialEq for ScrollbarColorCustom
Auto Trait Implementations§
impl Freeze for ScrollbarColorCustom
impl RefUnwindSafe for ScrollbarColorCustom
impl Send for ScrollbarColorCustom
impl Sync for ScrollbarColorCustom
impl Unpin for ScrollbarColorCustom
impl UnwindSafe for ScrollbarColorCustom
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