pub struct MenuInstanceExtraRoutine<S> { /* private fields */ }
Implementations§
Source§impl<S> MenuInstanceExtraRoutine<S>where
S: MenuInstanceExtraSelect + ViewSelector,
for<'a> S::ViewOutput: MenuIndexFromScreenCoord + View<(&'a MenuInstance<<S::Choose as MenuInstanceChoose>::Entry>, &'a S::Extra)>,
impl<S> MenuInstanceExtraRoutine<S>where
S: MenuInstanceExtraSelect + ViewSelector,
for<'a> S::ViewOutput: MenuIndexFromScreenCoord + View<(&'a MenuInstance<<S::Choose as MenuInstanceChoose>::Entry>, &'a S::Extra)>,
Trait Implementations§
Source§impl<S> EventRoutine for MenuInstanceExtraRoutine<S>where
S: MenuInstanceExtraSelect + ViewSelector,
for<'a> S::ViewOutput: MenuIndexFromScreenCoord + View<(&'a MenuInstance<<S::Choose as MenuInstanceChoose>::Entry>, &'a S::Extra)>,
impl<S> EventRoutine for MenuInstanceExtraRoutine<S>where
S: MenuInstanceExtraSelect + ViewSelector,
for<'a> S::ViewOutput: MenuIndexFromScreenCoord + View<(&'a MenuInstance<<S::Choose as MenuInstanceChoose>::Entry>, &'a S::Extra)>,
type Return = <<S as MenuInstanceExtraSelect>::Choose as MenuInstanceChoose>::Output
type Data = <S as MenuInstanceExtraSelect>::DataInput
type View = <S as ViewSelector>::ViewInput
type Event = Input
fn handle<EP>(
self,
data: &mut Self::Data,
view: &Self::View,
event_or_peek: EP,
) -> Handled<Self::Return, Self>where
EP: EventOrPeek<Event = Self::Event>,
fn view<F, C>( &self, data: &Self::Data, view: &mut Self::View, context: ViewContext<C>, frame: &mut F, )
fn repeat<U, F>(self, f: F) -> Repeat<Self, F>
fn select<S>(self, selector: S) -> Select<Self, S>
fn and_then<U, F>(self, f: F) -> AndThen<Self, U, F>
fn map<F, U>(self, f: F) -> Map<Self, F>
fn convert_input_to_common_event(self) -> ConvertInputToCommonEvent<Self>
fn app_one_shot_ignore_return( self, data: Self::Data, view: Self::View, ) -> EventRoutineAppOneShotIgnoreReturn<Self>
fn return_on_exit<F>(self, f: F) -> ReturnOnExit<Self, F>
fn decorated<D>(self, d: D) -> Decorated<Self, D>
fn on_event<F>(self, f: F) -> OnEvent<Self, F>
Auto Trait Implementations§
impl<S> Freeze for MenuInstanceExtraRoutine<S>where
S: Freeze,
impl<S> RefUnwindSafe for MenuInstanceExtraRoutine<S>where
S: RefUnwindSafe,
impl<S> Send for MenuInstanceExtraRoutine<S>where
S: Send,
impl<S> Sync for MenuInstanceExtraRoutine<S>where
S: Sync,
impl<S> Unpin for MenuInstanceExtraRoutine<S>where
S: Unpin,
impl<S> UnwindSafe for MenuInstanceExtraRoutine<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