Struct bwapi_wrapper::BWAPI_GameInstance
source · #[repr(C)]pub struct BWAPI_GameInstance {
pub serverProcessID: c_uint,
pub isConnected: bool,
pub lastKeepAliveTime: c_uint,
}
Fields§
§serverProcessID: c_uint
§isConnected: bool
§lastKeepAliveTime: c_uint
Trait Implementations§
source§impl Clone for BWAPI_GameInstance
impl Clone for BWAPI_GameInstance
source§fn clone(&self) -> BWAPI_GameInstance
fn clone(&self) -> BWAPI_GameInstance
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for BWAPI_GameInstance
impl Debug for BWAPI_GameInstance
source§impl Hash for BWAPI_GameInstance
impl Hash for BWAPI_GameInstance
source§impl PartialEq for BWAPI_GameInstance
impl PartialEq for BWAPI_GameInstance
source§fn eq(&self, other: &BWAPI_GameInstance) -> bool
fn eq(&self, other: &BWAPI_GameInstance) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for BWAPI_GameInstance
impl Eq for BWAPI_GameInstance
impl StructuralPartialEq for BWAPI_GameInstance
Auto Trait Implementations§
impl RefUnwindSafe for BWAPI_GameInstance
impl Send for BWAPI_GameInstance
impl Sync for BWAPI_GameInstance
impl Unpin for BWAPI_GameInstance
impl UnwindSafe for BWAPI_GameInstance
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