pub struct CurveResponse {
pub changed: bool,
pub committed: bool,
}Expand description
Outcome of one widget interaction.
changed is set on any value mutation this frame; committed only on the
frame a gesture finishes (drag released, key added, or key removed) so the
caller can funnel one edit per gesture.
Fields§
§changed: bool§committed: boolTrait Implementations§
Source§impl Clone for CurveResponse
impl Clone for CurveResponse
Source§fn clone(&self) -> CurveResponse
fn clone(&self) -> CurveResponse
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 moreimpl Copy for CurveResponse
Source§impl Default for CurveResponse
impl Default for CurveResponse
Source§fn default() -> CurveResponse
fn default() -> CurveResponse
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CurveResponse
impl RefUnwindSafe for CurveResponse
impl Send for CurveResponse
impl Sync for CurveResponse
impl Unpin for CurveResponse
impl UnsafeUnpin for CurveResponse
impl UnwindSafe for CurveResponse
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