pub struct ChangeData {
pub bool_value: bool,
pub float_value: f32,
pub string_value: String,
}Expand description
Data for a value-change event (checkbox/toggle/radio/slider/text input).
bool_value/float_value/string_value are populated depending on the
source component; the others remain at their defaults.
Fields§
§bool_value: boolChecked state for checkbox/toggle/radio.
float_value: f32Numeric value for slider/progress.
string_value: StringText value for text input/area.
Trait Implementations§
Source§impl Clone for ChangeData
impl Clone for ChangeData
Source§impl Debug for ChangeData
impl Debug for ChangeData
Source§impl Default for ChangeData
impl Default for ChangeData
Source§impl From<&ArkEventData> for ChangeData
impl From<&ArkEventData> for ChangeData
Source§fn from(data: &ArkEventData) -> Self
fn from(data: &ArkEventData) -> Self
Converts to this type from the input type.
Source§impl From<ArkEventData> for ChangeData
impl From<ArkEventData> for ChangeData
Source§fn from(data: ArkEventData) -> Self
fn from(data: ArkEventData) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ChangeData
impl RefUnwindSafe for ChangeData
impl Send for ChangeData
impl Sync for ChangeData
impl Unpin for ChangeData
impl UnsafeUnpin for ChangeData
impl UnwindSafe for ChangeData
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<Ret> SpawnIfAsync<(), Ret> for Ret
impl<Ret> SpawnIfAsync<(), Ret> for Ret
Source§impl<T, O> SuperFrom<T> for Owhere
O: From<T>,
impl<T, O> SuperFrom<T> for Owhere
O: From<T>,
Source§fn super_from(input: T) -> O
fn super_from(input: T) -> O
Convert from a type to another type.
Source§impl<T, O, M> SuperInto<O, M> for Twhere
O: SuperFrom<T, M>,
impl<T, O, M> SuperInto<O, M> for Twhere
O: SuperFrom<T, M>,
Source§fn super_into(self) -> O
fn super_into(self) -> O
Convert from a type to another type.