Enum ferrite_session::prelude::Sum [−][src]
pub enum Sum<A, B> { Inl(A), Inr(B), }
Variants
Trait Implementations
impl<'de, A, B> Deserialize<'de> for Sum<A, B> where
A: Deserialize<'de>,
B: Deserialize<'de>,
[src]
impl<'de, A, B> Deserialize<'de> for Sum<A, B> where
A: Deserialize<'de>,
B: Deserialize<'de>,
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
impl<A, B> ForwardChannel for Sum<A, B> where
A: ForwardChannel,
B: ForwardChannel,
[src]
impl<A, B> ForwardChannel for Sum<A, B> where
A: ForwardChannel,
B: ForwardChannel,
[src]fn forward_to(self, sender1: OpaqueSender, receiver1: OpaqueReceiver)
[src]
fn forward_from(sender1: OpaqueSender, receiver1: OpaqueReceiver) -> Self
[src]
impl<A: Copy, B: Copy> Copy for Sum<A, B>
[src]
Auto Trait Implementations
impl<A, B> RefUnwindSafe for Sum<A, B> where
A: RefUnwindSafe,
B: RefUnwindSafe,
A: RefUnwindSafe,
B: RefUnwindSafe,
impl<A, B> Send for Sum<A, B> where
A: Send,
B: Send,
A: Send,
B: Send,
impl<A, B> Sync for Sum<A, B> where
A: Sync,
B: Sync,
A: Sync,
B: Sync,
impl<A, B> Unpin for Sum<A, B> where
A: Unpin,
B: Unpin,
A: Unpin,
B: Unpin,
impl<A, B> UnwindSafe for Sum<A, B> where
A: UnwindSafe,
B: UnwindSafe,
A: UnwindSafe,
B: UnwindSafe,
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
pub fn vzip(self) -> V
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<A> ForwardChannel for A where
A: ForwardChannel,
[src]
A: ForwardChannel,
impl<F, A, X> HasRecApp<F, A> for X where
X: HasRecApp<F, A>,
[src]
X: HasRecApp<F, A>,