pub struct id<P: Combi>(pub P);Expand description
Applies a Combi with no changes
matches!(id(id(id(nothing::<(), (), i32>()))).comp(3), (3, CombiResult::Suc(())));Tuple Fields§
§0: PTrait Implementations§
Source§impl<P: Combi> Combi for id<P>
impl<P: Combi> Combi for id<P>
type Suc = <P as Combi>::Suc
type Err = <P as Combi>::Err
type Con = <P as Combi>::Con
type Inp = <P as Combi>::Inp
type Out = <P as Combi>::Out
Auto Trait Implementations§
impl<P> Freeze for id<P>where
P: Freeze,
impl<P> RefUnwindSafe for id<P>where
P: RefUnwindSafe,
impl<P> Send for id<P>where
P: Send,
impl<P> Sync for id<P>where
P: Sync,
impl<P> Unpin for id<P>where
P: Unpin,
impl<P> UnwindSafe for id<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