pub struct SliderChanged {
pub entity: Entity,
pub value: f32,
}Expand description
Emitted after a SliderValue is updated by user drag / click. Carries
the entity and the new clamped value.
Fields§
§entity: EntityAffected entity.
value: f32New value, clamped to [min, max].
Trait Implementations§
Source§impl Clone for SliderChanged
impl Clone for SliderChanged
Source§fn clone(&self) -> SliderChanged
fn clone(&self) -> SliderChanged
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SliderChanged
impl Debug for SliderChanged
impl Copy for SliderChanged
impl Message for SliderChanged
Auto Trait Implementations§
impl Freeze for SliderChanged
impl RefUnwindSafe for SliderChanged
impl Send for SliderChanged
impl Sync for SliderChanged
impl Unpin for SliderChanged
impl UnsafeUnpin for SliderChanged
impl UnwindSafe for SliderChanged
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,
§impl<T> IntoResult<T> for T
impl<T> IntoResult<T> for T
§fn into_result(self) -> Result<T, RunSystemError>
fn into_result(self) -> Result<T, RunSystemError>
Converts this type into the system output type.