[][src]Struct azul_css::ScrollbarStyle

pub struct ScrollbarStyle {
    pub horizontal: Option<ScrollbarInfo>,
    pub vertical: Option<ScrollbarInfo>,
}

Width and height of the scrollbars at the side of the text field.

This information is necessary in order to reserve space at the side of the text field so that the text doesn't overlap the scrollbar. In some cases (when the scrollbar is set to "auto"), the scrollbar space is only taken up when the text overflows the rectangle itself.

Fields

horizontal: Option<ScrollbarInfo>

Vertical scrollbar style, if any

vertical: Option<ScrollbarInfo>

Horizontal scrollbar style, if any

Trait Implementations

impl Clone for ScrollbarStyle[src]

impl Debug for ScrollbarStyle[src]

impl Eq for ScrollbarStyle[src]

impl Hash for ScrollbarStyle[src]

impl Ord for ScrollbarStyle[src]

impl PartialEq<ScrollbarStyle> for ScrollbarStyle[src]

impl PartialOrd<ScrollbarStyle> for ScrollbarStyle[src]

impl StructuralEq for ScrollbarStyle[src]

impl StructuralPartialEq for ScrollbarStyle[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.