Enum prologin::api::Erreur [] [src]

#[repr(C)]
pub enum Erreur { Ok, PaInsuffisants, PositionInvalide, ObstacleMur, ObstacleAgent, DeplacementHorsLimites, DirectionInvalide, IdAgentInvalide, RienAPousser, DrapeauInvalide, }

Erreurs possibles

Variants

L'action s'est effectuée avec succès.

Votre agent ne possède pas assez de points d'action pour réaliser cette action.

La position spécifiée n'est pas sur la banquise.

La position spécifiée est un mur.

La position spécifiée est un agent.

Ce déplacement fait sortir un agent des limites de la banquise.

La direction spécifiée n'existe pas.

L'agent spécifié n'existe pas.

Aucun agent à pousser dans la direction indiquée.

Le drapeau spécifié n'existe pas.

Trait Implementations

impl Clone for Erreur
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Erreur
[src]

impl Debug for Erreur
[src]

Formats the value using the given formatter. Read more

impl Eq for Erreur
[src]

impl Hash for Erreur
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl PartialEq for Erreur
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl PartialOrd for Erreur
[src]

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Ord for Erreur
[src]

This method returns an Ordering between self and other. Read more

Compares and returns the maximum of two values. Read more

Compares and returns the minimum of two values. Read more

Auto Trait Implementations

impl Send for Erreur

impl Sync for Erreur