pub trait Touchable {
// Required method
fn touch(&self);
}Expand description
Trait for accessing each memory unit of a target.
You can use #[derive(Touchable)] for common structures.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".