Struct nimble_rust::state::HostState
source · pub struct HostState {
pub state: State,
}
Fields§
§state: State
Implementations§
source§impl HostState
impl HostState
pub fn new(state: State) -> HostState
pub fn set_state(&mut self, state: State)
pub fn request( &self, connection: &mut HostStateConnection, request: DownloadGameStateRequest, ) -> DownloadGameStateResponse
Auto Trait Implementations§
impl Freeze for HostState
impl RefUnwindSafe for HostState
impl Send for HostState
impl Sync for HostState
impl Unpin for HostState
impl UnwindSafe for HostState
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