[−][src]Struct azul_css::ScrollbarInfo
Holds info necessary for layouting / styling scrollbars (-webkit-scrollbar)
Fields
width: LayoutWidth
Total width (or height for vertical scrollbars) of the scrollbar in pixels
padding_left: LayoutPaddingLeft
Padding of the scrollbar tracker, in pixels. The inner bar is width - padding
pixels wide.
padding_right: LayoutPaddingRight
track: RectStyle
Style of the scrollbar background
(-webkit-scrollbar
/ -webkit-scrollbar-track
/ -webkit-scrollbar-track-piece
combined)
thumb: RectStyle
Style of the scrollbar thumbs (the "up" / "down" arrows), (-webkit-scrollbar-thumb
)
Styles the directional buttons on the scrollbar (-webkit-scrollbar-button
)
corner: RectStyle
If two scrollbars are present, addresses the (usually) bottom corner
of the scrollable element, where two scrollbars might meet (-webkit-scrollbar-corner
)
resizer: RectStyle
Addresses the draggable resizing handle that appears above the
corner
at the bottom corner of some elements (-webkit-resizer
)
Trait Implementations
impl Clone for ScrollbarInfo
[src]
fn clone(&self) -> ScrollbarInfo
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ScrollbarInfo
[src]
impl Default for ScrollbarInfo
[src]
impl Eq for ScrollbarInfo
[src]
impl Hash for ScrollbarInfo
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Ord for ScrollbarInfo
[src]
fn cmp(&self, other: &ScrollbarInfo) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<ScrollbarInfo> for ScrollbarInfo
[src]
fn eq(&self, other: &ScrollbarInfo) -> bool
[src]
fn ne(&self, other: &ScrollbarInfo) -> bool
[src]
impl PartialOrd<ScrollbarInfo> for ScrollbarInfo
[src]
fn partial_cmp(&self, other: &ScrollbarInfo) -> Option<Ordering>
[src]
fn lt(&self, other: &ScrollbarInfo) -> bool
[src]
fn le(&self, other: &ScrollbarInfo) -> bool
[src]
fn gt(&self, other: &ScrollbarInfo) -> bool
[src]
fn ge(&self, other: &ScrollbarInfo) -> bool
[src]
impl StructuralEq for ScrollbarInfo
[src]
impl StructuralPartialEq for ScrollbarInfo
[src]
Auto Trait Implementations
impl RefUnwindSafe for ScrollbarInfo
impl Send for ScrollbarInfo
impl Sync for ScrollbarInfo
impl Unpin for ScrollbarInfo
impl UnwindSafe for ScrollbarInfo
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,