Struct cut::ChoiceSelector
source · [−]pub struct ChoiceSelector<N> {
phantom: PhantomData<N>,
}
Fields
phantom: PhantomData<N>
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: 'static + Send,
ChoiceSelector<N>: Prism<R>,
impl<N, A, R> Prism<(A, R)> for ChoiceSelector<S<N>> where
R: RowCon,
A: 'static + Send,
ChoiceSelector<N>: Prism<R>,
type Elem = <ChoiceSelector<N> as Prism<R>>::Elem
fn inject_elem<'a, F>(
elem: App<'a, F, <ChoiceSelector<S<N>> as Prism<(A, R)>>::Elem>
) -> AppSum<'a, (A, R), F> where
F: 'a + Send + TyCon,
(A, R): 'a,
fn extract_elem<'a, F>(
row: AppSum<'a, (A, R), F>
) -> Option<App<'a, F, <ChoiceSelector<S<N>> as Prism<(A, R)>>::Elem>> where
F: 'a + Send + TyCon,
(A, R): 'a,
sourceimpl<A, R> Prism<(A, R)> for ChoiceSelector<Z> where
A: Send,
R: RowCon,
impl<A, R> Prism<(A, R)> for ChoiceSelector<Z> where
A: Send,
R: RowCon,
type Elem = A
fn inject_elem<'a, F>(
t: App<'a, F, <ChoiceSelector<Z> as Prism<(A, R)>>::Elem>
) -> AppSum<'a, (A, R), F> where
F: 'a + Send + TyCon,
(A, R): 'a,
fn extract_elem<'a, F>(
row: AppSum<'a, (A, R), F>
) -> Option<App<'a, F, <ChoiceSelector<Z> as Prism<(A, R)>>::Elem>> where
F: 'a + Send + 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