feat!: Removed AddAdditionalMethods
All checks were successful
Build and deploy / build (push) Successful in 11m1s
Build and deploy / Deploy container (push) Successful in 40s

It has been replaced with the add_methods device attribute.
This commit is contained in:
2025-09-09 04:24:20 +02:00
parent 19cdb37dfb
commit 5abdc88a35
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;
}