Struct bwapi_wrapper::BWAPI_InterfaceEvent
source · #[repr(C)]pub struct BWAPI_InterfaceEvent {
pub condProc: u8,
pub execProc: u8,
pub runFreq: c_int,
pub runCount: c_int,
pub step: c_int,
}
Expand description
The interface event is an attachment to BWAPI interfaces which allows the user to register powerful conditional callbacks that can be executed a user-specified number of times.
@tparam T The interface that this class is being used for.
@see Interface::registerEvent
Fields§
§condProc: u8
§execProc: u8
§runFreq: c_int
§runCount: c_int
§step: c_int
Trait Implementations§
source§impl Clone for BWAPI_InterfaceEvent
impl Clone for BWAPI_InterfaceEvent
source§fn clone(&self) -> BWAPI_InterfaceEvent
fn clone(&self) -> BWAPI_InterfaceEvent
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_InterfaceEvent
impl Debug for BWAPI_InterfaceEvent
source§impl Hash for BWAPI_InterfaceEvent
impl Hash for BWAPI_InterfaceEvent
source§impl PartialEq for BWAPI_InterfaceEvent
impl PartialEq for BWAPI_InterfaceEvent
source§fn eq(&self, other: &BWAPI_InterfaceEvent) -> bool
fn eq(&self, other: &BWAPI_InterfaceEvent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for BWAPI_InterfaceEvent
impl Eq for BWAPI_InterfaceEvent
impl StructuralPartialEq for BWAPI_InterfaceEvent
Auto Trait Implementations§
impl RefUnwindSafe for BWAPI_InterfaceEvent
impl Send for BWAPI_InterfaceEvent
impl Sync for BWAPI_InterfaceEvent
impl Unpin for BWAPI_InterfaceEvent
impl UnwindSafe for BWAPI_InterfaceEvent
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