Struct prologin::api::Position
[−]
[src]
Position sur la banquise, donnée par deux coordonnées.
Methods
impl Position[src]
impl PositionTrait Implementations
impl Clone for Position[src]
impl Clone for Positionfn clone(&self) -> Position[src]
fn clone(&self) -> PositionReturns 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 Position[src]
impl Copy for Positionimpl Debug for Position[src]
impl Debug for Positionfn 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 Position[src]
impl PartialEq for Positionfn eq(&self, __arg_0: &Position) -> bool[src]
fn eq(&self, __arg_0: &Position) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Position) -> bool[src]
fn ne(&self, __arg_0: &Position) -> boolThis method tests for !=.
impl PartialOrd for Position[src]
impl PartialOrd for Positionfn partial_cmp(&self, __arg_0: &Position) -> Option<Ordering>[src]
fn partial_cmp(&self, __arg_0: &Position) -> Option<Ordering>This method returns an ordering between self and other values if one exists. Read more
fn lt(&self, __arg_0: &Position) -> bool[src]
fn lt(&self, __arg_0: &Position) -> boolThis method tests less than (for self and other) and is used by the < operator. Read more
fn le(&self, __arg_0: &Position) -> bool[src]
fn le(&self, __arg_0: &Position) -> 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: &Position) -> bool[src]
fn gt(&self, __arg_0: &Position) -> boolThis method tests greater than (for self and other) and is used by the > operator. Read more
fn ge(&self, __arg_0: &Position) -> bool[src]
fn ge(&self, __arg_0: &Position) -> boolThis method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
impl<T> Index<Position> for Plateau<T>[src]
impl<T> Index<Position> for Plateau<T>type Output = T
The returned type after indexing.
fn index(&self, pos: Position) -> &T[src]
fn index(&self, pos: Position) -> &TPerforms the indexing (container[index]) operation.
impl<T> IndexMut<Position> for Plateau<T>[src]
impl<T> IndexMut<Position> for Plateau<T>