Enum widgetry::widgets::slider::Style[][src]

enum Style {
    Horizontal {
        main_bg_len: f64,
        dragger_len: f64,
    },
    Vertical {
        main_bg_len: f64,
        dragger_len: f64,
    },
    Area {
        width: f64,
    },
}

Variants

Horizontal

Fields of Horizontal

main_bg_len: f64dragger_len: f64
Vertical

Fields of Vertical

main_bg_len: f64dragger_len: f64
Area

Fields of Area

width: f64

Implementations

impl Style[src]

fn padding(&self) -> EdgeInsets[src]

fn inner_dims(&self) -> ScreenDims[src]

Auto Trait Implementations

impl RefUnwindSafe for Style

impl Send for Style

impl Sync for Style

impl Unpin for Style

impl UnwindSafe for Style

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> Downcast for T where
    T: Any

impl<T> DowncastSync for T where
    T: Any + Send + Sync

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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.