Struct bwapi_wrapper::BWAPI_BulletData
source · #[repr(C)]pub struct BWAPI_BulletData {Show 15 fields
pub id: c_int,
pub player: c_int,
pub type_: c_int,
pub source: c_int,
pub positionX: c_int,
pub positionY: c_int,
pub angle: f64,
pub velocityX: f64,
pub velocityY: f64,
pub target: c_int,
pub targetPositionX: c_int,
pub targetPositionY: c_int,
pub removeTimer: c_int,
pub exists: bool,
pub isVisible: [bool; 9],
}
Fields§
§id: c_int
§player: c_int
§type_: c_int
§source: c_int
§positionX: c_int
§positionY: c_int
§angle: f64
§velocityX: f64
§velocityY: f64
§target: c_int
§targetPositionX: c_int
§targetPositionY: c_int
§removeTimer: c_int
§exists: bool
§isVisible: [bool; 9]
Trait Implementations§
source§impl Clone for BWAPI_BulletData
impl Clone for BWAPI_BulletData
source§fn clone(&self) -> BWAPI_BulletData
fn clone(&self) -> BWAPI_BulletData
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_BulletData
impl Debug for BWAPI_BulletData
source§impl PartialEq for BWAPI_BulletData
impl PartialEq for BWAPI_BulletData
source§fn eq(&self, other: &BWAPI_BulletData) -> bool
fn eq(&self, other: &BWAPI_BulletData) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for BWAPI_BulletData
impl StructuralPartialEq for BWAPI_BulletData
Auto Trait Implementations§
impl RefUnwindSafe for BWAPI_BulletData
impl Send for BWAPI_BulletData
impl Sync for BWAPI_BulletData
impl Unpin for BWAPI_BulletData
impl UnwindSafe for BWAPI_BulletData
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