pub struct TryMapped<R, A, F> { /* private fields */ }Expand description
An ActionRef behind an input adapter that may make no arguments. See
ActionRef::try_map.
Trait Implementations§
Source§impl<R, A, I, T, F> Binds<R, I> for TryMapped<R, A, F>
impl<R, A, I, T, F> Binds<R, I> for TryMapped<R, A, F>
fn action_id(&self) -> &'static str
Source§fn action_key(&self) -> ActionKey
fn action_key(&self) -> ActionKey
The key the action is published under — the app, resource kind and
action id — which a control is bound against. A reference carries its
own (
ActionRef::key); anything else is bound as R’s own action
under R’s app and kind.Auto Trait Implementations§
impl<R, A, F> Forget for TryMapped<R, A, F>
impl<R, A, F> Freeze for TryMapped<R, A, F>
impl<R, A, F> Move for TryMapped<R, A, F>
impl<R, A, F> RefUnwindSafe for TryMapped<R, A, F>
impl<R, A, F> Send for TryMapped<R, A, F>
impl<R, A, F> Sync for TryMapped<R, A, F>
impl<R, A, F> Unpin for TryMapped<R, A, F>
impl<R, A, F> UnsafeUnpin for TryMapped<R, A, F>
impl<R, A, F> UnwindSafe for TryMapped<R, A, F>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more