Trait serde_traitobject::FnMut
source · pub trait FnMut<Args: Tuple>: FnMut<Args> + Serialize + Deserialize { }
Expand description
A convenience trait implemented on all (de)serializable implementors of std::ops::FnMut
.
It can be made into a trait object which is then (de)serializable.
Trait Implementations§
source§impl<'a, Args, Output> AsRef<dyn FnMut<Args, Output = Output> + 'a> for dyn FnMut<Args, Output = Output> + 'a
impl<'a, Args, Output> AsRef<dyn FnMut<Args, Output = Output> + 'a> for dyn FnMut<Args, Output = Output> + 'a
source§impl<'a, Args, Output> AsRef<dyn FnMut<Args, Output = Output> + Send + 'a> for dyn FnMut<Args, Output = Output> + Send + 'a
impl<'a, Args, Output> AsRef<dyn FnMut<Args, Output = Output> + Send + 'a> for dyn FnMut<Args, Output = Output> + Send + 'a
source§impl<'de, Args: 'static, Output: 'static> Deserialize<'de> for Box<dyn FnMut<Args, Output = Output> + 'static>
impl<'de, Args: 'static, Output: 'static> Deserialize<'de> for Box<dyn FnMut<Args, Output = Output> + 'static>
source§fn 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
source§impl<'de, Args: 'static, Output: 'static> Deserialize<'de> for Box<dyn FnMut<Args, Output = Output> + Send + 'static>
impl<'de, Args: 'static, Output: 'static> Deserialize<'de> for Box<dyn FnMut<Args, Output = Output> + Send + 'static>
source§fn 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