pub trait Hoge { fn hogehoge(&self) -> String;}pub struct Fuga {}impl Hoge for Fuga { fn hogehoge(&self) {}}pub trait Hoge { fn hogehoge(&self) { println!("hogehoge") }}pub fn piyo(hoge: &impl Hoge) { println!("piyo");}