Struct iced_audio::style::h_slider::RectBipolarStyle [−][src]
pub struct RectBipolarStyle { pub back_color: Color, pub back_border_width: f32, pub back_border_radius: f32, pub back_border_color: Color, pub left_filled_color: Color, pub right_filled_color: Color, pub handle_left_color: Color, pub handle_right_color: Color, pub handle_center_color: Color, pub handle_width: u16, pub handle_filled_gap: f32, }
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.
Fields
back_color: Color
color of the background rectangle
back_border_width: f32
width of the background rectangle border
back_border_radius: f32
radius of the background rectangle
back_border_color: Color
color of the background rectangle border
left_filled_color: Color
color of a filled portion in the background rectangle on the left side of the center
right_filled_color: Color
color of a filled portion in the background rectangle on the right side of the center
handle_left_color: Color
color of the handle rectangle when it is on the left side of the center
handle_right_color: Color
color of the handle rectangle when it is on the right side of the center
handle_center_color: Color
color of the handle rectangle when it is in the center
handle_width: u16
width of the handle rectangle
handle_filled_gap: f32
width of the gap between the handle and the filled portion of the background rectangle
Trait Implementations
impl Clone for RectBipolarStyle
[src]
impl Clone for RectBipolarStyle
[src]fn clone(&self) -> RectBipolarStyle
[src]
fn clone(&self) -> RectBipolarStyle
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for RectBipolarStyle
[src]
impl Debug for RectBipolarStyle
[src]impl Copy 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> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,