pub struct MotionBindingState<S> { /* private fields */ }Expand description
Per-consumer state used with a reusable MotionBinding.
Keep one value next to each bound Motion. The binding itself remains
immutable and can be shared by any number of controls.
Implementations§
Trait Implementations§
Source§impl<S: Clone> Clone for MotionBindingState<S>
impl<S: Clone> Clone for MotionBindingState<S>
Source§fn clone(&self) -> MotionBindingState<S>
fn clone(&self) -> MotionBindingState<S>
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<S: Copy> Copy for MotionBindingState<S>
Source§impl<S: Debug> Debug for MotionBindingState<S>
impl<S: Debug> Debug for MotionBindingState<S>
impl<S: Eq> Eq for MotionBindingState<S>
Source§impl<S: Hash> Hash for MotionBindingState<S>
impl<S: Hash> Hash for MotionBindingState<S>
Source§impl<S: PartialEq> PartialEq for MotionBindingState<S>
impl<S: PartialEq> PartialEq for MotionBindingState<S>
impl<S: PartialEq> StructuralPartialEq for MotionBindingState<S>
Auto Trait Implementations§
impl<S> Freeze for MotionBindingState<S>where
S: Freeze,
impl<S> RefUnwindSafe for MotionBindingState<S>where
S: RefUnwindSafe,
impl<S> Send for MotionBindingState<S>where
S: Send,
impl<S> Sync for MotionBindingState<S>where
S: Sync,
impl<S> Unpin for MotionBindingState<S>where
S: Unpin,
impl<S> UnsafeUnpin for MotionBindingState<S>where
S: UnsafeUnpin,
impl<S> UnwindSafe for MotionBindingState<S>where
S: UnwindSafe,
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