pub trait MoveBase: Send + Sync {
// Required methods
fn send_velocity(&self, velocity: &BaseVelocity) -> Result<(), Error>;
fn current_velocity(&self) -> Result<BaseVelocity, Error>;
}Required Methods§
fn send_velocity(&self, velocity: &BaseVelocity) -> Result<(), Error>
fn current_velocity(&self) -> Result<BaseVelocity, Error>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".