arci

Trait 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 Box<T>
where Box<T>: Send + Sync,

Source§

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

Implementors§

Source§

impl MoveBase for DummyMoveBase

Source§

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