Struct bwapi_wrapper::BWAPI_Unitset
source · #[repr(C)]pub struct BWAPI_Unitset {
pub _address: u8,
}
Expand description
The Unitset is a container for a set of pointers to Unit objects. It is typically used for groups of units instead of having to manage each Unit individually.
@see Unit
Fields§
§_address: u8
Trait Implementations§
source§impl Clone for BWAPI_Unitset
impl Clone for BWAPI_Unitset
source§fn clone(&self) -> BWAPI_Unitset
fn clone(&self) -> BWAPI_Unitset
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_Unitset
impl Debug for BWAPI_Unitset
source§impl Hash for BWAPI_Unitset
impl Hash for BWAPI_Unitset
source§impl PartialEq for BWAPI_Unitset
impl PartialEq for BWAPI_Unitset
source§fn eq(&self, other: &BWAPI_Unitset) -> bool
fn eq(&self, other: &BWAPI_Unitset) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for BWAPI_Unitset
impl Eq for BWAPI_Unitset
impl StructuralPartialEq for BWAPI_Unitset
Auto Trait Implementations§
impl RefUnwindSafe for BWAPI_Unitset
impl Send for BWAPI_Unitset
impl Sync for BWAPI_Unitset
impl Unpin for BWAPI_Unitset
impl UnwindSafe for BWAPI_Unitset
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