pub struct FocusTrackerTrackFocusBuilder<'f1, 'f2, F, Fut, S: State = Empty>{ /* private fields */ }Expand description
Use builder syntax to set the inputs and finish with call().
Implementations§
Source§impl<'f1, 'f2, F, Fut, S: State> FocusTrackerTrackFocusBuilder<'f1, 'f2, F, Fut, S>
impl<'f1, 'f2, F, Fut, S: State> FocusTrackerTrackFocusBuilder<'f1, 'f2, F, Fut, S>
Sourcepub async fn call(self) -> FocusTrackerResult<()>where
S: IsComplete,
pub async fn call(self) -> FocusTrackerResult<()>where
S: IsComplete,
Finishes building and performs the requested action.
Sourcepub fn on_focus(
self,
value: F,
) -> FocusTrackerTrackFocusBuilder<'f1, 'f2, F, Fut, SetOnFocus<S>>where
S::OnFocus: IsUnset,
pub fn on_focus(
self,
value: F,
) -> FocusTrackerTrackFocusBuilder<'f1, 'f2, F, Fut, SetOnFocus<S>>where
S::OnFocus: IsUnset,
Required.
Sourcepub fn stop_signal(
self,
value: &'f2 AtomicBool,
) -> FocusTrackerTrackFocusBuilder<'f1, 'f2, F, Fut, SetStopSignal<S>>where
S::StopSignal: IsUnset,
pub fn stop_signal(
self,
value: &'f2 AtomicBool,
) -> FocusTrackerTrackFocusBuilder<'f1, 'f2, F, Fut, SetStopSignal<S>>where
S::StopSignal: IsUnset,
Sourcepub fn maybe_stop_signal(
self,
value: Option<&'f2 AtomicBool>,
) -> FocusTrackerTrackFocusBuilder<'f1, 'f2, F, Fut, SetStopSignal<S>>where
S::StopSignal: IsUnset,
pub fn maybe_stop_signal(
self,
value: Option<&'f2 AtomicBool>,
) -> FocusTrackerTrackFocusBuilder<'f1, 'f2, F, Fut, SetStopSignal<S>>where
S::StopSignal: IsUnset,
Auto Trait Implementations§
impl<'f1, 'f2, F, Fut, S> Freeze for FocusTrackerTrackFocusBuilder<'f1, 'f2, F, Fut, S>where
F: Freeze,
impl<'f1, 'f2, F, Fut, S> RefUnwindSafe for FocusTrackerTrackFocusBuilder<'f1, 'f2, F, Fut, S>where
F: RefUnwindSafe,
impl<'f1, 'f2, F, Fut, S> Send for FocusTrackerTrackFocusBuilder<'f1, 'f2, F, Fut, S>where
F: Send,
impl<'f1, 'f2, F, Fut, S> Sync for FocusTrackerTrackFocusBuilder<'f1, 'f2, F, Fut, S>where
F: Sync,
impl<'f1, 'f2, F, Fut, S> Unpin for FocusTrackerTrackFocusBuilder<'f1, 'f2, F, Fut, S>where
F: Unpin,
impl<'f1, 'f2, F, Fut, S> UnsafeUnpin for FocusTrackerTrackFocusBuilder<'f1, 'f2, F, Fut, S>where
F: UnsafeUnpin,
impl<'f1, 'f2, F, Fut, S> UnwindSafe for FocusTrackerTrackFocusBuilder<'f1, 'f2, F, Fut, S>where
F: 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
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