Struct prologin::api::AlienInfo
[−]
[src]
pub struct AlienInfo {
pub pos: Position,
pub points_capture: c_int,
pub tour_invasion: c_int,
pub duree_invasion: c_int,
pub capture_en_cours: c_int,
}Alien à capturer durant la mission.
Fields
pos: Position
Position de l'alien
points_capture: c_int
Nombre de points obtenus pour la capture de cet alien
tour_invasion: c_int
Tour où l'alien débarque sur la banquise
duree_invasion: c_int
Nombre de tours où l'alien reste sur la banquise
capture_en_cours: c_int
Nombre de tours de la capture en cours, l'alien est considéré comme capturé si la variable atteint NB_TOURS_CAPTURE
Trait Implementations
impl Clone for AlienInfo[src]
impl Clone for AlienInfofn clone(&self) -> AlienInfo[src]
fn clone(&self) -> AlienInfoReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)Performs copy-assignment from source. Read more
impl Copy for AlienInfo[src]
impl Copy for AlienInfoimpl Debug for AlienInfo[src]
impl Debug for AlienInfofn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
fn fmt(&self, __arg_0: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for AlienInfo[src]
impl PartialEq for AlienInfofn eq(&self, __arg_0: &AlienInfo) -> bool[src]
fn eq(&self, __arg_0: &AlienInfo) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &AlienInfo) -> bool[src]
fn ne(&self, __arg_0: &AlienInfo) -> boolThis method tests for !=.
impl PartialOrd for AlienInfo[src]
impl PartialOrd for AlienInfofn partial_cmp(&self, __arg_0: &AlienInfo) -> Option<Ordering>[src]
fn partial_cmp(&self, __arg_0: &AlienInfo) -> Option<Ordering>This method returns an ordering between self and other values if one exists. Read more
fn lt(&self, __arg_0: &AlienInfo) -> bool[src]
fn lt(&self, __arg_0: &AlienInfo) -> boolThis method tests less than (for self and other) and is used by the < operator. Read more
fn le(&self, __arg_0: &AlienInfo) -> bool[src]
fn le(&self, __arg_0: &AlienInfo) -> boolThis method tests less than or equal to (for self and other) and is used by the <= operator. Read more
fn gt(&self, __arg_0: &AlienInfo) -> bool[src]
fn gt(&self, __arg_0: &AlienInfo) -> boolThis method tests greater than (for self and other) and is used by the > operator. Read more
fn ge(&self, __arg_0: &AlienInfo) -> bool[src]
fn ge(&self, __arg_0: &AlienInfo) -> boolThis method tests greater than or equal to (for self and other) and is used by the >= operator. Read more