I see the following pattern coming up a lot in Rust codebases, but I can't find an explanation why this is used.
For what end does one use the impl ... for construction?
Pseudocode:
impl Handler {
pub fn method1() -> () {
}
}
impl Dummy for Handler {
pub fn method2() -> () {
}
}