Skip to main content

constrain_set

Function constrain_set 

Source
pub fn constrain_set<R, V, F>(f: F) -> F
where F: for<'b> Fn(&'b mut R) -> Option<&'b mut V>,
Expand description

Forces the compiler to treat a closure as for<'b> Fn(&'b mut R) -> Option<&'b mut V>.