pub struct Field<S: Scalar> {
pub key: String,
pub control: Control<S>,
}Expand description
A control, and the key the events it sends carry.
Fields§
§key: String§control: Control<S>Trait Implementations§
impl<S: PartialEq + Scalar> StructuralPartialEq for Field<S>
Auto Trait Implementations§
impl<S> Freeze for Field<S>where
S: Freeze,
impl<S> RefUnwindSafe for Field<S>where
S: RefUnwindSafe,
impl<S> Send for Field<S>
impl<S> Sync for Field<S>
impl<S> Unpin for Field<S>where
S: Unpin,
impl<S> UnsafeUnpin for Field<S>where
S: UnsafeUnpin,
impl<S> UnwindSafe for Field<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