Struct ferrite_session::internal::public::prelude::ChoiceSelector
source · [−]pub struct ChoiceSelector<N> { /* private fields */ }
Implementations
sourceimpl<N> ChoiceSelector<N>
impl<N> ChoiceSelector<N>
pub const fn new() -> ChoiceSelector<N>
Trait Implementations
sourceimpl<N, A, R> Prism<(A, R)> for ChoiceSelector<S<N>> where
R: RowCon,
A: Send + 'static,
ChoiceSelector<N>: Prism<R>,
impl<N, A, R> Prism<(A, R)> for ChoiceSelector<S<N>> where
R: RowCon,
A: Send + 'static,
ChoiceSelector<N>: Prism<R>,
type Elem = <ChoiceSelector<N> as Prism<R>>::Elem
fn inject_elem<'a, F: 'a + Send>(
elem: App<'a, F, Self::Elem>
) -> AppSum<'a, (A, R), F> where
F: TyCon,
(A, R): 'a,
fn extract_elem<'a, F: 'a + Send>(
row: AppSum<'a, (A, R), F>
) -> Option<App<'a, F, Self::Elem>> where
F: TyCon,
(A, R): 'a,
Auto Trait Implementations
impl<N> RefUnwindSafe for ChoiceSelector<N> where
N: RefUnwindSafe,
impl<N> Send for ChoiceSelector<N> where
N: Send,
impl<N> Sync for ChoiceSelector<N> where
N: Sync,
impl<N> Unpin for ChoiceSelector<N> where
N: Unpin,
impl<N> UnwindSafe for ChoiceSelector<N> where
N: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more