#[repr(transparent)]pub struct Unsplit<P>(pub P);Expand description
Stateless/stateful marker
To be used in Split<Unsplit<P>, ()> and Split<(), Unsplit<P>>
to mark processors requiring no state and no configuration respectively.
Tuple Fields§
§0: PTrait Implementations§
Source§impl<X: Copy, Y, P: Process<X, Y>> SplitProcess<X, Y, Unsplit<P>> for ()
Configuration-less filters
impl<X: Copy, Y, P: Process<X, Y>> SplitProcess<X, Y, Unsplit<P>> for ()
Configuration-less filters
impl<P: Copy> Copy for Unsplit<P>
Auto Trait Implementations§
impl<P> Freeze for Unsplit<P>where
P: Freeze,
impl<P> RefUnwindSafe for Unsplit<P>where
P: RefUnwindSafe,
impl<P> Send for Unsplit<P>where
P: Send,
impl<P> Sync for Unsplit<P>where
P: Sync,
impl<P> Unpin for Unsplit<P>where
P: Unpin,
impl<P> UnwindSafe for Unsplit<P>where
P: 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