Struct futures_util::fns::IntoFn
source · pub struct IntoFn<T>(PhantomData<fn() -> T>);
Tuple Fields§
§0: PhantomData<fn() -> T>
Trait Implementations§
impl<T> Copy for IntoFn<T>
Auto Trait Implementations§
impl<T> Freeze for IntoFn<T>
impl<T> RefUnwindSafe for IntoFn<T>
impl<T> Send for IntoFn<T>
impl<T> Sync for IntoFn<T>
impl<T> Unpin for IntoFn<T>
impl<T> UnwindSafe for IntoFn<T>
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