robot_behavior 0.5.4

a library for robot common behavior
Documentation
1
2
3
4
5
6
7
8
9
10
use anyhow::Result;

pub trait Renderer {
    // fn start(&mut self) {} // 打开窗口/连接/记录流
    // fn shutdown(&mut self) {} // 收尾
}

pub trait AttachFrom<T> {
    fn attach_from(self, from: &mut T) -> Result<()>;
}