pub struct UserInputContext<T> {
pub ic: InputContext,
pub user_data: T,
}Fields§
§ic: InputContext§user_data: TImplementations§
Source§impl<T> UserInputContext<T>
impl<T> UserInputContext<T>
pub fn new(ic: InputContext, user_data: T) -> Self
Auto Trait Implementations§
impl<T> Freeze for UserInputContext<T>where
T: Freeze,
impl<T> RefUnwindSafe for UserInputContext<T>where
T: RefUnwindSafe,
impl<T> Send for UserInputContext<T>where
T: Send,
impl<T> Sync for UserInputContext<T>where
T: Sync,
impl<T> Unpin for UserInputContext<T>where
T: Unpin,
impl<T> UnwindSafe for UserInputContext<T>where
T: 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