pub struct GoalFromFunction<T> { /* private fields */ }Expand description
Struct to convert (wrap) function to Goal trait.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for GoalFromFunction<T>
impl<T> RefUnwindSafe for GoalFromFunction<T>
impl<T> Send for GoalFromFunction<T>
impl<T> Sync for GoalFromFunction<T>
impl<T> Unpin for GoalFromFunction<T>
impl<T> UnsafeUnpin for GoalFromFunction<T>
impl<T> UnwindSafe for GoalFromFunction<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