pub struct With<Cbk>(/* private fields */);
Trait Implementations§
Source§impl<Arg, Cbk: Callable<(), Output = Arg>> ProvideArgument for With<Cbk>
impl<Arg, Cbk: Callable<(), Output = Arg>> ProvideArgument for With<Cbk>
type ProvideArgumentType = Value<Arg>
fn provide_argument_to<Out, F: for<'arg> FnOnce(ArgumentOfType<'arg, Self::ProvideArgumentType>) -> Out>( &self, f: F, ) -> Out
impl<Cbk: Copy> Copy for With<Cbk>
impl<Cbk: Eq> Eq for With<Cbk>
impl<Cbk> StructuralPartialEq for With<Cbk>
Auto Trait Implementations§
impl<Cbk> Freeze for With<Cbk>where
Cbk: Freeze,
impl<Cbk> RefUnwindSafe for With<Cbk>where
Cbk: RefUnwindSafe,
impl<Cbk> Send for With<Cbk>where
Cbk: Send,
impl<Cbk> Sync for With<Cbk>where
Cbk: Sync,
impl<Cbk> Unpin for With<Cbk>where
Cbk: Unpin,
impl<Cbk> UnwindSafe for With<Cbk>where
Cbk: 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