[−][src]Struct iced_audio::style::v_slider::RectBipolarStyle
A modern Style
for an VSlider
. It is composed of a background
rectangle and a rectangular handle. It has different colors for bottom, top,
and center values.
back_bottom_empty_color
- color of an unfilled portion in the background rectangle on the bottom side of the centerback_bottom_filled_color
- color of a filled portion in the background rectangle on the bottom side of the centerback_top_empty_color
- color of an unfilled portion in the background rectangle on the top side of the centerback_top_filled_color
- color of a filled portion in the background rectangle on the top side of the centerborder_color
- color of the background rectangle borderborder_radius
- radius of the background rectangleborder_width
- width of the background rectangle borderhandle_bottom_color
- color of the handle rectangle when it is on the bottom side of the centerhandle_top_color
- color of the handle rectangle when it is on the top side of the centerhandle_center_color
- color of the handle rectangle when it is in the centerhandle_height
- height of the handle rectanglehandle_filled_gap
- height of the gap between the handle and the filled portion of the background rectangle
Fields
back_bottom_empty_color: Color
color of an unfilled portion in the background rectangle on the bottom side of the center
back_bottom_filled_color: Color
color of a filled portion in the background rectangle on the bottom side of the center
back_top_empty_color: Color
color of an unfilled portion in the background rectangle on the top side of the center
back_top_filled_color: Color
color of a filled portion in the background rectangle on the top side of the center
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_bottom_color: Color
color of the handle rectangle when it is on the bottom side of the center
handle_top_color: Color
color of the handle rectangle when it is on the top side of the center
handle_center_color: Color
color of the handle rectangle when it is in the center
handle_height: u16
height of the handle rectangle
handle_filled_gap: u16
height of the gap between the handle and the filled portion of the background rectangle
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> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
T: Parameter<Self>,
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>,