pub struct Shared<I, P1, P2>(_, _, _);
Expand description
A combinated cached operation of two cached operations sharing the same queue.
Trait Implementations
sourceimpl<I, Q: QueueCapAtLeast<LEN, Item = I>, P1, P2, const LEN: usize> CachedOperation<I, Q, LEN> for Shared<I, P1, P2> where
P1: CachedOperation<I, Q, LEN>,
P2: CachedOperation<I, Q, LEN>,
impl<I, Q: QueueCapAtLeast<LEN, Item = I>, P1, P2, const LEN: usize> CachedOperation<I, Q, LEN> for Shared<I, P1, P2> where
P1: CachedOperation<I, Q, LEN>,
P2: CachedOperation<I, Q, LEN>,
impl<I: Copy, P1: Copy, P2: Copy> Copy for Shared<I, P1, P2>
Auto Trait Implementations
impl<I, P1, P2> RefUnwindSafe for Shared<I, P1, P2> where
P1: RefUnwindSafe,
P2: RefUnwindSafe,
impl<I, P1, P2> Send for Shared<I, P1, P2> where
P1: Send,
P2: Send,
impl<I, P1, P2> Sync for Shared<I, P1, P2> where
P1: Sync,
P2: Sync,
impl<I, P1, P2> Unpin for Shared<I, P1, P2> where
P1: Unpin,
P2: Unpin,
impl<I, P1, P2> UnwindSafe for Shared<I, P1, P2> where
P1: UnwindSafe,
P2: 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
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