Struct prologin::api::Position
[−]
[src]
Position sur la banquise, donnée par deux coordonnées.
Methods
impl Position
[src]
impl Position
Trait Implementations
impl Clone for Position
[src]
impl Clone for Position
fn clone(&self) -> Position
[src]
fn clone(&self) -> Position
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 Copy for Position
[src]
impl Copy for Position
impl Debug for Position
[src]
impl Debug for Position
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 Position
[src]
impl PartialEq for Position
fn eq(&self, __arg_0: &Position) -> bool
[src]
fn eq(&self, __arg_0: &Position) -> bool
This 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) -> bool
This method tests for !=
.
impl PartialOrd for Position
[src]
impl PartialOrd for Position
fn 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) -> bool
This 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) -> 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: &Position) -> bool
[src]
fn gt(&self, __arg_0: &Position) -> bool
This 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) -> bool
This 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) -> &T
Performs the indexing (container[index]
) operation.
impl<T> IndexMut<Position> for Plateau<T>
[src]
impl<T> IndexMut<Position> for Plateau<T>