clock: replace provide calls with expose stubs

This commit is contained in:
🪞👃🪞 2025-05-09 00:06:51 +03:00
parent e3b12a1d36
commit 1b48e10d2d
2 changed files with 13 additions and 4 deletions

View file

@ -1,8 +1,17 @@
use crate::*;
provide_num!(u32: |self: Clock| {});
provide!(Option<u32>: |self: Clock| {});
provide!(f64: |self: Clock| {});
#[tengri_proc::expose]
impl Clock {
fn _todo_provide_u32 (&self) -> u32 {
todo!()
}
fn _todo_provide_opt_u32 (&self) -> Option<u32> {
todo!()
}
fn _todo_provide_f64 (&self) -> f64 {
todo!()
}
}
impl<T: HasClock> Command<T> for ClockCommand {
fn execute (self, state: &mut T) -> Perhaps<Self> {