pub struct FuncRef<T>(_);
Expand description
Reference to a function that can be sent to another process
Implementations
Trait Implementations
sourceimpl<'de, T> Deserialize<'de> for FuncRef<T> where
T: Fn<T>,
impl<'de, T> Deserialize<'de> for FuncRef<T> where
T: Fn<T>,
sourcefn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl<T: Copy> Copy for FuncRef<T>
Auto Trait Implementations
impl<T> RefUnwindSafe for FuncRef<T> where
T: RefUnwindSafe,
impl<T> Send for FuncRef<T> where
T: Send,
impl<T> Sync for FuncRef<T> where
T: Sync,
impl<T> Unpin for FuncRef<T> where
T: Unpin,
impl<T> UnwindSafe for FuncRef<T> where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more