Struct freya_hooks::ScrollbarTheme
source · pub struct ScrollbarTheme {
pub background: &'static str,
pub thumb_background: &'static str,
}
Expand description
Theming properties the Scrollbar components.
Fields§
§background: &'static str
§thumb_background: &'static str
Trait Implementations§
source§impl Clone for ScrollbarTheme
impl Clone for ScrollbarTheme
source§fn clone(&self) -> ScrollbarTheme
fn clone(&self) -> ScrollbarTheme
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 ScrollbarTheme
impl Debug for ScrollbarTheme
source§impl PartialEq<ScrollbarTheme> for ScrollbarTheme
impl PartialEq<ScrollbarTheme> for ScrollbarTheme
source§fn eq(&self, other: &ScrollbarTheme) -> bool
fn eq(&self, other: &ScrollbarTheme) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ScrollbarTheme
impl StructuralEq for ScrollbarTheme
impl StructuralPartialEq for ScrollbarTheme
Auto Trait Implementations§
impl RefUnwindSafe for ScrollbarTheme
impl Send for ScrollbarTheme
impl Sync for ScrollbarTheme
impl Unpin for ScrollbarTheme
impl UnwindSafe for ScrollbarTheme
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more