pub struct Params<T, P>(pub T, pub P);
Expand description
Helper to register a parameterized function.
This is used to wrap the name of the function in order to associated parameters with it.
Tuple Fields§
§0: T
§1: P
Trait Implementations§
source§impl<T, P> InstFnName for Params<T, P>where
T: InstFnName,
P: Copy + IntoIterator,
P::Item: IntoTypeHash,
impl<T, P> InstFnName for Params<T, P>where T: InstFnName, P: Copy + IntoIterator, P::Item: IntoTypeHash,
impl<T: Copy, P: Copy> Copy for Params<T, P>
Auto Trait Implementations§
impl<T, P> RefUnwindSafe for Params<T, P>where P: RefUnwindSafe, T: RefUnwindSafe,
impl<T, P> Send for Params<T, P>where P: Send, T: Send,
impl<T, P> Sync for Params<T, P>where P: Sync, T: Sync,
impl<T, P> Unpin for Params<T, P>where P: Unpin, T: Unpin,
impl<T, P> UnwindSafe for Params<T, P>where P: UnwindSafe, T: 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