pub fn refresh_param<T: PartialEq + Clone>(stored: &mut T, new: &T) -> bool
Updates one stored parameter to new and says whether it differed, reusing the stored value’s allocations where Clone::clone_from can.
new
Clone::clone_from