pub trait CanObserve<T> {
// Required method
fn observe(&mut self, value: T);
// Provided method
fn observe_slice(&mut self, values: &[T])
where T: Clone { ... }
}
pub trait CanObserve<T> {
// Required method
fn observe(&mut self, value: T);
// Provided method
fn observe_slice(&mut self, values: &[T])
where T: Clone { ... }
}