Struct prologin::api::ActionHist
[−]
[src]
pub struct ActionHist { pub atype: ActionType, pub id_agent: c_int, pub dir: Direction, }
Action de déplacement représentée dans l'historique.
Fields
atype: ActionType
Type de l'action
id_agent: c_int
Numéro de l'agent concerné par l'action
dir: Direction
Direction visée par l'agent durant le déplacement
Trait Implementations
impl Clone for ActionHist
[src]
impl Clone for ActionHist
fn clone(&self) -> ActionHist
[src]
fn clone(&self) -> ActionHist
Returns 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 Debug for ActionHist
[src]
impl Debug for ActionHist
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for ActionHist
[src]
impl PartialEq for ActionHist
fn eq(&self, __arg_0: &ActionHist) -> bool
[src]
fn eq(&self, __arg_0: &ActionHist) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ActionHist) -> bool
[src]
fn ne(&self, __arg_0: &ActionHist) -> bool
This method tests for !=
.
impl PartialOrd for ActionHist
[src]
impl PartialOrd for ActionHist
fn partial_cmp(&self, __arg_0: &ActionHist) -> Option<Ordering>
[src]
fn partial_cmp(&self, __arg_0: &ActionHist) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, __arg_0: &ActionHist) -> bool
[src]
fn lt(&self, __arg_0: &ActionHist) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, __arg_0: &ActionHist) -> bool
[src]
fn le(&self, __arg_0: &ActionHist) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn gt(&self, __arg_0: &ActionHist) -> bool
[src]
fn gt(&self, __arg_0: &ActionHist) -> bool
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, __arg_0: &ActionHist) -> bool
[src]
fn ge(&self, __arg_0: &ActionHist) -> bool
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
Auto Trait Implementations
impl Send for ActionHist
impl Send for ActionHist
impl Sync for ActionHist
impl Sync for ActionHist