pub struct Value<T, D, V, E>(/* private fields */);
Implementations§
Trait Implementations§
Source§impl<T, D, V, E> EventRoutine for Value<T, D, V, E>
impl<T, D, V, E> EventRoutine for Value<T, D, V, E>
type Return = T
type Data = D
type View = V
type Event = E
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<T, D, V, E> Freeze for Value<T, D, V, E>where
T: Freeze,
impl<T, D, V, E> RefUnwindSafe for Value<T, D, V, E>
impl<T, D, V, E> Send for Value<T, D, V, E>
impl<T, D, V, E> Sync for Value<T, D, V, E>
impl<T, D, V, E> Unpin for Value<T, D, V, E>
impl<T, D, V, E> UnwindSafe for Value<T, D, V, E>
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