pub trait SharedDestination<Destination>{
// Required methods
fn access<F>(&mut self, accessor: F)
where F: Fn(&Destination);
fn access_mut<F>(&mut self, accessor: F)
where F: FnMut(&mut Destination);
}Required Methods§
fn access<F>(&mut self, accessor: F)where
F: Fn(&Destination),
fn access_mut<F>(&mut self, accessor: F)where
F: FnMut(&mut Destination),
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.