Trait arci::MoveBase

source ·
pub trait MoveBase: Send + Sync {
    // Required methods
    fn send_velocity(&self, velocity: &BaseVelocity) -> Result<(), Error>;
    fn current_velocity(&self) -> Result<BaseVelocity, Error>;
}

Required Methods§

Implementations on Foreign Types§

source§

impl<T: MoveBase + ?Sized> MoveBase for Arc<T>where Arc<T>: Send + Sync,

source§

impl<T: MoveBase + ?Sized> MoveBase for Box<T>where Box<T>: Send + Sync,

Implementors§

source§

impl MoveBase for DummyMoveBase

source§

impl<T> MoveBase for Lazy<'_, T>where T: MoveBase,