[−][src]Struct iced_audio::style::h_slider::TextureStyle
A Style
for an HSlider
that uses an image texture for the handle
rail_colors
- colors of the top and bottom of the railtexture
- theHandle
to the image texturehandle_width
- the width of the handle, not including paddinghandle_height
- the height of the handle, not including paddingtexture_padding
- the texture padding around the handle bounding rectangle. This is useful when the texture is of a glowing handle or has a drop shadow, etc.
Fields
rail_colors: (Color, Color)
colors of the top and bottom of the rail
texture: Handle
the [Handle
] to the image texture
handle_width: u16
the width of the handle, not including padding
handle_height: u16
the height of the handle, not including padding
texture_padding: Option<TexturePadding>
the texture padding around the handle bounding rectangle. This is useful when the texture is of a glowing handle or has a drop shadow, etc.
Trait Implementations
impl Clone for TextureStyle
[src]
fn clone(&self) -> TextureStyle
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for TextureStyle
[src]
Auto Trait Implementations
impl RefUnwindSafe for TextureStyle
impl Send for TextureStyle
impl Sync for TextureStyle
impl Unpin for TextureStyle
impl UnwindSafe for TextureStyle
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>,