pub struct Uniform<P, F: Set> { /* private fields */ }Expand description
One-route representation with no route discriminant.
Implementations§
Trait Implementations§
Source§impl<P, F: Set> Flow<P, F> for Uniform<P, F>
impl<P, F: Set> Flow<P, F> for Uniform<P, F>
type Family = Uniforms<P>
fn each<'a, M: Each<P, F>>(&'a mut self, each: M) -> M::Output<'a>
fn map_retain<G: Set, M: Map<P, F, G>>( self, map: M, ) -> ControlFlow<M::Break, (M::Retained, Uniform<P, G>)>
fn fold<T: Fold<P, F>>(self, fold: T) -> T::Output
Source§fn finish(self) -> Result<Self, Self>where
F: Finish,
fn finish(self) -> Result<Self, Self>where
F: Finish,
Retags an open route arm as finished while retaining the same route,
slot, payload owner, and generated-family discriminant storage.
fn each_open<'a, V: Each<F>>(&'a mut self, visit: V) -> V::Output<'a>where
F: Set,
fn fold_open<V: Fold<P, F>>(self, visit: V) -> V::Outputwhere
F: Set,
fn consume<O, V: FnOnce(F::Body) -> O>(self, visit: V) -> Owhere
F: Set,
fn map<G: Set, M: Map<P, F, G, Retained = ()>>( self, map: M, ) -> ControlFlow<M::Break, <Self::Family as Family<P>>::State<G>>
Auto Trait Implementations§
impl<P, F> Forget for Uniform<P, F>
impl<P, F> Freeze for Uniform<P, F>
impl<P, F> RefUnwindSafe for Uniform<P, F>
impl<P, F> Send for Uniform<P, F>
impl<P, F> Sync for Uniform<P, F>
impl<P, F> Unpin for Uniform<P, F>
impl<P, F> UnsafeUnpin for Uniform<P, F>
impl<P, F> UnwindSafe for Uniform<P, 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