[−][src]Struct iced_audio::style::h_slider::RectBipolarStyle
A modern Style
for an HSlider
. It is composed of a background
rectangle and a rectangular handle. It has different colors for left, right,
and center values.
back_left_empty_color
- color of an unfilled portion in the background rectangle on the left side of the centerback_left_filled_color
- color of a filled portion in the background rectangle on the left side of the centerback_right_empty_color
- color of an unfilled portion in the background rectangle on the right side of the centerback_right_filled_color
- color of a filled portion in the background rectangle on the right side of the centerborder_color
- color of the background rectangle borderborder_radius
- radius of the background rectangleborder_width
- width of the background rectangle borderhandle_left_color
- color of the handle rectangle when it is on the left side of the centerhandle_right_color
- color of the handle rectangle when it is on the right side of the centerhandle_center_color
- color of the handle rectangle when it is in the centerhandle_width
- width of the handle rectanglehandle_filled_gap
- width of the gap between the handle and the filled portion of the background rectangle
Fields
back_left_empty_color: Color
back_left_filled_color: Color
back_right_empty_color: Color
back_right_filled_color: Color
border_color: Color
border_radius: u16
border_width: u16
handle_left_color: Color
handle_right_color: Color
handle_center_color: Color
handle_width: u16
handle_filled_gap: u16
Trait Implementations
impl Clone for RectBipolarStyle
[src]
fn clone(&self) -> RectBipolarStyle
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for RectBipolarStyle
[src]
impl Debug for RectBipolarStyle
[src]
Auto Trait Implementations
impl RefUnwindSafe for RectBipolarStyle
impl Send for RectBipolarStyle
impl Sync for RectBipolarStyle
impl Unpin for RectBipolarStyle
impl UnwindSafe for RectBipolarStyle
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,