pub struct PlayerEngine { /* private fields */ }Implementations§
Source§impl PlayerEngine
impl PlayerEngine
pub fn new(rx: Receiver<PlayerActions>, tx_status: Sender<PlayerStatus>) -> Self
pub fn start(&mut self) -> Result<i32>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PlayerEngine
impl !RefUnwindSafe for PlayerEngine
impl Send for PlayerEngine
impl Sync for PlayerEngine
impl Unpin for PlayerEngine
impl UnsafeUnpin for PlayerEngine
impl !UnwindSafe for PlayerEngine
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more