Struct iced_audio::style::v_slider::ModRangeStyle [−][src]
pub struct ModRangeStyle { pub placement: ModRangePlacement, pub back_border_width: f32, pub back_border_radius: f32, pub back_border_color: Color, pub back_color: Option<Color>, pub filled_color: Color, pub filled_inverse_color: Color, }
A style for a ModulationRange
line for a VSlider
Fields
placement: ModRangePlacement
The placement of the line relative to the widget
back_border_width: f32
The width of the background border.
back_border_radius: f32
The radius of the background border.
back_border_color: Color
The color of the background border.
back_color: Option<Color>
The color of the background.
Set to None
for no background.
filled_color: Color
The color of a filled portion of the line.
filled_inverse_color: Color
The color of a filled portion of the line when end
is less than
start
.
Trait Implementations
impl Clone for ModRangeStyle
[src]
impl Clone for ModRangeStyle
[src]fn clone(&self) -> ModRangeStyle
[src]
fn clone(&self) -> ModRangeStyle
[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
Auto Trait Implementations
impl RefUnwindSafe for ModRangeStyle
impl Send for ModRangeStyle
impl Sync for ModRangeStyle
impl Unpin for ModRangeStyle
impl UnwindSafe for ModRangeStyle
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>,