pub struct DelegateRouteBuilder<'a, M, C, P>where
M: RouteMatcher + Send + Sync + 'static,
C: PipelineHandleChain<P> + Copy + Send + Sync + 'static,
P: Send + Sync + 'static,{ /* private fields */ }
Expand description
A delegated builder, which is created by DrawRoutes::delegate
and returned. The DrawRoutes
trait has documentation for using this type.
Implementations
sourceimpl<'a, M, C, P> DelegateRouteBuilder<'a, M, C, P>where
M: RouteMatcher + Send + Sync + 'static,
C: PipelineHandleChain<P> + Copy + Send + Sync + 'static,
P: RefUnwindSafe + Send + Sync + 'static,
impl<'a, M, C, P> DelegateRouteBuilder<'a, M, C, P>where
M: RouteMatcher + Send + Sync + 'static,
C: PipelineHandleChain<P> + Copy + Send + Sync + 'static,
P: RefUnwindSafe + Send + Sync + 'static,
sourcepub fn add_route_matcher<NM: RouteMatcher + Send + Sync + 'static>(
self,
matcher: NM
) -> DelegateRouteBuilder<'a, AndRouteMatcher<M, NM>, C, P>
pub fn add_route_matcher<NM: RouteMatcher + Send + Sync + 'static>(
self,
matcher: NM
) -> DelegateRouteBuilder<'a, AndRouteMatcher<M, NM>, C, P>
Adds additional RouteMatcher
requirements to the current delegate.
Auto Trait Implementations
impl<'a, M, C, P> RefUnwindSafe for DelegateRouteBuilder<'a, M, C, P>where
P: RefUnwindSafe,
impl<'a, M, C, P> Send for DelegateRouteBuilder<'a, M, C, P>
impl<'a, M, C, P> Sync for DelegateRouteBuilder<'a, M, C, P>
impl<'a, M, C, P> Unpin for DelegateRouteBuilder<'a, M, C, P>where
C: Unpin,
M: Unpin,
impl<'a, M, C, P> !UnwindSafe for DelegateRouteBuilder<'a, M, C, P>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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