[][src]Struct iced_audio::style::v_slider::TickMarkStyle

pub struct TickMarkStyle {
    pub scale_tier_1: f32,
    pub scale_tier_2: f32,
    pub scale_tier_3: f32,
    pub height_tier_1: u16,
    pub height_tier_2: u16,
    pub height_tier_3: u16,
    pub color_tier_1: Color,
    pub color_tier_2: Color,
    pub color_tier_3: Color,
    pub center_offset: u16,
    pub handle_offset: u16,
}

The style of a TickMarkGroup for a VSlider

Fields

scale_tier_1: f32

The height of a tier 1 tick mark relative to the height of the HSlider

scale_tier_2: f32

The height of a tier 2 tick mark relative to the height of the HSlider

scale_tier_3: f32

The height of a tier 3 tick mark relative to the height of the HSlider

height_tier_1: u16

The height (thickness) of a tier 1 tick mark

height_tier_2: u16

The height (thickness) of a tier 2 tick mark

height_tier_3: u16

The height (thickness) of a tier 3 tick mark

color_tier_1: Color

The color of a tier 1 tick mark

color_tier_2: Color

The color of a tier 2 tick mark

color_tier_3: Color

The color of a tier 3 tick mark

center_offset: u16

The vertical distance from the center rail to a tick mark. Setting this to 0 will cause each tick mark to be a single continous line going through the the rail, as apposed to a line above and a line below the rail.

handle_offset: u16

The horizontal offset from the edges of the HSlider. This is usually half of the width of the handle.

Trait Implementations

impl Clone for TickMarkStyle[src]

impl Copy for TickMarkStyle[src]

impl Debug for TickMarkStyle[src]

impl Default for TickMarkStyle[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> SetParameter for T

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,