[][src]Struct iced_audio::style::knob::VectorCircleStyle

pub struct VectorCircleStyle {
    pub knob_color: Color,
    pub knob_border_width: u16,
    pub knob_border_color: Color,
    pub notch_color: Color,
    pub notch_border_width: u16,
    pub notch_border_color: Color,
    pub notch_scale: Normal,
    pub notch_offset: Normal,
}

A simple vector Style of a Knob witch a circle as the notch

Fields

knob_color: Color

the color of the knob

knob_border_width: u16

the width of the border around the knob

knob_border_color: Color

the color of the border around the knob

notch_color: Color

the color of the notch line

notch_border_width: u16

the width of the border around the notch

notch_border_color: Color

the color of the border around the notch

notch_scale: Normal

the scale of the notch from the size of the knob. For example, a scale of 0.5.into() will have the notch's diameter be half of the knob's diameter.

notch_offset: Normal

he offset of the notch from the edge of the knob to it's center. For example, 0.0.into() will have the notch touching the edge of the knob, and 0.5.into() will have the notch halfway between the edge and the center of the knob.

Trait Implementations

impl Clone for VectorCircleStyle[src]

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