pub struct Z;
Trait Implementations
sourceimpl<C, A1, A2> ContextLens<(A1, C), A1, A2> for Z where
A1: Slot,
A2: Slot,
C: Context,
impl<C, A1, A2> ContextLens<(A1, C), A1, A2> for Z where
A1: Slot,
A2: Slot,
C: Context,
type Deleted = C
type Target = (A2, C)
fn extract_source(
ctx: (<A1 as Slot>::Endpoint, <C as Context>::Endpoints)
) -> (<A1 as Slot>::Endpoint, <C as Context>::Endpoints)
fn insert_target(
p: <A2 as Slot>::Endpoint,
r: <C as Context>::Endpoints
) -> (<A2 as Slot>::Endpoint, <C as Context>::Endpoints)
sourceimpl Protocol for Z
impl Protocol for Z
type ClientEndpoint = ()
type ProviderEndpoint = ()
fn create_endpoints(
) -> (<Z as Protocol>::ProviderEndpoint, <Z as Protocol>::ClientEndpoint)
fn forward(
_client_end: <Z as Protocol>::ClientEndpoint,
_provider_end: <Z as Protocol>::ProviderEndpoint
) -> Pin<Box<dyn Future<Output = ()> + Send + 'static, Global>>
impl Copy for Z
impl SealedNat for Z
impl SealedProtocol for Z
Auto Trait Implementations
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
sourceimpl<T, F, A> HasRecApp<F, A> for T where
F: 'static + RecApp<A, Applied = T>,
A: 'static,
T: 'static + Send,
impl<T, F, A> HasRecApp<F, A> for T where
F: 'static + RecApp<A, Applied = T>,
A: 'static,
T: 'static + Send,
sourceimpl<'a, S, Row, F> HasSumApp<'a, Row, F> for S where
F: TyCon,
S: Send,
Row: SumApp<'a, F, Applied = S>,
impl<'a, S, Row, F> HasSumApp<'a, Row, F> for S where
F: TyCon,
S: Send,
Row: SumApp<'a, F, Applied = S>,
sourceimpl<'a, T, F, A> HasTypeApp<'a, F, A> for T where
T: Send,
F: TypeApp<'a, A, Applied = T>,
impl<'a, T, F, A> HasTypeApp<'a, F, A> for T where
T: Send,
F: TypeApp<'a, A, Applied = T>,
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more