pub enum ChainDisplay<A, B> {
A(A),
B(B),
}Expand description
Display label helper for chaining.
Variants§
Trait Implementations§
Source§impl<A: Clone, B: Clone> Clone for ChainDisplay<A, B>
impl<A: Clone, B: Clone> Clone for ChainDisplay<A, B>
Source§fn clone(&self) -> ChainDisplay<A, B>
fn clone(&self) -> ChainDisplay<A, B>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<A: Copy, B: Copy> Copy for ChainDisplay<A, B>
Auto Trait Implementations§
impl<A, B> Freeze for ChainDisplay<A, B>
impl<A, B> RefUnwindSafe for ChainDisplay<A, B>where
A: RefUnwindSafe,
B: RefUnwindSafe,
impl<A, B> Send for ChainDisplay<A, B>
impl<A, B> Sync for ChainDisplay<A, B>
impl<A, B> Unpin for ChainDisplay<A, B>
impl<A, B> UnwindSafe for ChainDisplay<A, B>where
A: UnwindSafe,
B: UnwindSafe,
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