#[repr(C)]pub struct ScrollbarStyle {
pub horizontal: ScrollbarInfo,
pub vertical: ScrollbarInfo,
}Expand description
Scrollbar style
Fields§
§horizontal: ScrollbarInfoVertical scrollbar style, if any
vertical: ScrollbarInfoHorizontal scrollbar style, if any
Trait Implementations§
Source§impl Clone for ScrollbarStyle
impl Clone for ScrollbarStyle
Source§fn clone(&self) -> ScrollbarStyle
fn clone(&self) -> ScrollbarStyle
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 ScrollbarStyle
impl Debug for ScrollbarStyle
Source§impl Default for ScrollbarStyle
impl Default for ScrollbarStyle
Source§fn default() -> ScrollbarStyle
fn default() -> ScrollbarStyle
Returns the “default value” for a type. Read more
Source§impl From<ScrollbarStyle> for CssProperty
impl From<ScrollbarStyle> for CssProperty
Source§fn from(e: ScrollbarStyle) -> Self
fn from(e: ScrollbarStyle) -> Self
Converts to this type from the input type.
Source§impl Hash for ScrollbarStyle
impl Hash for ScrollbarStyle
Source§impl Ord for ScrollbarStyle
impl Ord for ScrollbarStyle
Source§fn cmp(&self, other: &ScrollbarStyle) -> Ordering
fn cmp(&self, other: &ScrollbarStyle) -> 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 ScrollbarStyle
impl PartialEq for ScrollbarStyle
Source§impl PartialOrd for ScrollbarStyle
impl PartialOrd for ScrollbarStyle
Source§impl PrintAsCssValue for ScrollbarStyle
impl PrintAsCssValue for ScrollbarStyle
fn print_as_css_value(&self) -> String
impl Eq for ScrollbarStyle
impl StructuralPartialEq for ScrollbarStyle
Auto Trait Implementations§
impl Freeze for ScrollbarStyle
impl RefUnwindSafe for ScrollbarStyle
impl Send for ScrollbarStyle
impl Sync for ScrollbarStyle
impl Unpin for ScrollbarStyle
impl UnwindSafe for ScrollbarStyle
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