Struct chargrid_menu::DynamicStyleMenuInstanceRoutine [−][src]
Implementations
impl<C, S> DynamicStyleMenuInstanceRoutine<C, S> where
C: MenuInstanceChoose,
S: MenuEntryRichString<Entry = C::Entry>,
[src]
C: MenuInstanceChoose,
S: MenuEntryRichString<Entry = C::Entry>,
Trait Implementations
impl<C, S> Clone for DynamicStyleMenuInstanceRoutine<C, S> where
C: MenuInstanceChoose,
S: MenuEntryRichString<Entry = C::Entry> + Clone,
[src]
C: MenuInstanceChoose,
S: MenuEntryRichString<Entry = C::Entry> + Clone,
fn clone(&self) -> Self
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<C, S> EventRoutine for DynamicStyleMenuInstanceRoutine<C, S> where
C: MenuInstanceChoose,
S: MenuEntryRichString<Entry = C::Entry>,
[src]
C: MenuInstanceChoose,
S: MenuEntryRichString<Entry = C::Entry>,
type Return = C::Output
type Data = C
type View = DynamicStyleMenuInstanceView
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>,
[src]
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, CM>(
&self,
data: &Self::Data,
view: &mut Self::View,
context: ViewContext<CM>,
frame: &mut F
) where
F: Frame,
CM: ColModify,
[src]
&self,
data: &Self::Data,
view: &mut Self::View,
context: ViewContext<CM>,
frame: &mut F
) where
F: Frame,
CM: ColModify,
pub fn repeat<U, F>(self, f: F) -> Repeat<Self, F> where
F: FnMut(Self::Return) -> Handled<U, Self>,
[src]
F: FnMut(Self::Return) -> Handled<U, Self>,
pub fn select<S>(self, selector: S) -> Select<Self, S> where
S: Selector<DataOutput = Self::Data, ViewOutput = Self::View>,
[src]
S: Selector<DataOutput = Self::Data, ViewOutput = Self::View>,
pub fn then<U, F>(self, f: F) -> Then<Self, U, F> where
F: FnOnce() -> U,
U: EventRoutine<Data = Self::Data, View = Self::View>,
[src]
F: FnOnce() -> U,
U: EventRoutine<Data = Self::Data, View = Self::View>,
pub fn and_then<U, F>(self, f: F) -> AndThen<Self, U, F> where
F: FnOnce(Self::Return) -> U,
U: EventRoutine<Data = Self::Data, View = Self::View>,
[src]
F: FnOnce(Self::Return) -> U,
U: EventRoutine<Data = Self::Data, View = Self::View>,
pub fn map<F, U>(self, f: F) -> Map<Self, F> where
F: FnOnce(Self::Return) -> U,
[src]
F: FnOnce(Self::Return) -> U,
pub fn convert_input_to_common_event(self) -> ConvertInputToCommonEvent<Self>
[src]
pub fn app_one_shot_ignore_return(
self,
data: Self::Data,
view: Self::View
) -> EventRoutineAppOneShotIgnoreReturn<Self>
[src]
self,
data: Self::Data,
view: Self::View
) -> EventRoutineAppOneShotIgnoreReturn<Self>
pub fn return_on_exit<F>(self, f: F) -> ReturnOnExit<Self, F> where
F: FnOnce(&mut Self::Data) -> Self::Return,
[src]
F: FnOnce(&mut Self::Data) -> Self::Return,
pub fn decorated<D>(self, d: D) -> Decorated<Self, D> where
D: Decorate<View = Self::View, Data = Self::Data>,
[src]
D: Decorate<View = Self::View, Data = Self::Data>,
pub fn on_event<F>(self, f: F) -> OnEvent<Self, F> where
F: FnMut(&mut &mut Self::Data, &Self::Event),
[src]
F: FnMut(&mut &mut Self::Data, &Self::Event),
Auto Trait Implementations
impl<C, S> RefUnwindSafe for DynamicStyleMenuInstanceRoutine<C, S> where
C: RefUnwindSafe,
S: RefUnwindSafe,
C: RefUnwindSafe,
S: RefUnwindSafe,
impl<C, S> Send for DynamicStyleMenuInstanceRoutine<C, S> where
C: Send,
S: Send,
C: Send,
S: Send,
impl<C, S> Sync for DynamicStyleMenuInstanceRoutine<C, S> where
C: Sync,
S: Sync,
C: Sync,
S: Sync,
impl<C, S> Unpin for DynamicStyleMenuInstanceRoutine<C, S> where
C: Unpin,
S: Unpin,
C: Unpin,
S: Unpin,
impl<C, S> UnwindSafe for DynamicStyleMenuInstanceRoutine<C, S> where
C: UnwindSafe,
S: UnwindSafe,
C: UnwindSafe,
S: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,