feat!: Removed AddAdditionalMethods

It has been replaced with the add_methods device attribute.
This commit is contained in:
2025-09-09 04:24:20 +02:00
parent 23355190ca
commit 95a8a377e8
4 changed files with 31 additions and 53 deletions

View File

@@ -78,9 +78,3 @@ pub trait OpenClose {
}
}
impl<T> OpenClose for T where T: google_home::traits::OpenClose {}
pub trait AddAdditionalMethods {
fn add_methods<M: mlua::UserDataMethods<Self>>(methods: &mut M)
where
Self: Sized + 'static;
}