Pour implémenter un trait, vous devez utiliser les mot-clés impl et for comme ceci:
impl YourInterface for YourStruct
{
}
Voir aussi:
Rust supporte-t-il le camel case ? (https://chez-oim.org/index.php/topic,1674.0.html)
Qu'est-ce qu'un trait ? (https://chez-oim.org/index.php/topic,1680.0.html)