[][src]Struct iced_audio::style::h_slider::RectStyle

pub struct RectStyle {
    pub back_empty_color: Color,
    pub back_filled_color: Color,
    pub border_color: Color,
    pub border_radius: u16,
    pub border_width: u16,
    pub handle_color: Color,
    pub handle_width: u16,
    pub handle_filled_gap: u16,
}

A modern Style for an HSlider. It is composed of a background rectangle and a rectangular handle.

  • back_empty_color - color of an unfilled portion in the background rectangle
  • back_filled_color - color of a filled portion in the background rectangle
  • border_color - color of the background rectangle border
  • border_radius - radius of the background rectangle
  • border_width - width of the background rectangle border
  • handle_color - color of the handle rectangle
  • handle_width - width of the handle rectangle
  • handle_filled_gap - width of the gap between the handle and the filled portion of the background rectangle

Fields

back_empty_color: Color

color of an unfilled portion in the background rectangle

back_filled_color: Color

color of a filled portion in the background rectangle

border_color: Color

color of the background rectangle border

border_radius: u16

radius of the background rectangle

border_width: u16

width of the background rectangle border

handle_color: Color

color of the handle rectangle

handle_width: u16

width of the handle rectangle

handle_filled_gap: u16

width of the gap between the handle and the filled portion of the background rectangle

Trait Implementations

impl Clone for RectStyle[src]

impl Copy for RectStyle[src]

impl Debug for RectStyle[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>,