#[repr(C)]pub struct SliderPatch {
pub id: u32,
pub value: Option<f64>,
pub step: Option<f64>,
pub min: Option<f64>,
pub max: Option<f64>,
pub transform: Option<Vec<f64>>,
pub size_x: Option<f64>,
pub size_y: Option<f64>,
pub accent: Option<ColorMessage>,
pub background: Option<ColorMessage>,
pub border_radius: Option<f64>,
}
Fields§
§id: u32
§value: Option<f64>
§step: Option<f64>
§min: Option<f64>
§max: Option<f64>
§transform: Option<Vec<f64>>
§size_x: Option<f64>
§size_y: Option<f64>
§accent: Option<ColorMessage>
§background: Option<ColorMessage>
§border_radius: Option<f64>
Trait Implementations§
Source§impl Clone for SliderPatch
impl Clone for SliderPatch
Source§fn clone(&self) -> SliderPatch
fn clone(&self) -> SliderPatch
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SliderPatch
impl Debug for SliderPatch
Source§impl Default for SliderPatch
impl Default for SliderPatch
Source§fn default() -> SliderPatch
fn default() -> SliderPatch
Returns the “default value” for a type. Read more
Source§impl Serialize for SliderPatch
impl Serialize for SliderPatch
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for SliderPatch
impl RefUnwindSafe for SliderPatch
impl Send for SliderPatch
impl Sync for SliderPatch
impl Unpin for SliderPatch
impl UnwindSafe for SliderPatch
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
Source§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.