Struct kdtree::kdtree::test_common::Point2WithId
[−]
[src]
pub struct Point2WithId { pub id: i32, // some fields omitted }
Fields
id: i32
Methods
impl Point2WithId
[src]
fn new(id: i32, x: f64, y: f64) -> Point2WithId
Trait Implementations
impl Copy for Point2WithId
[src]
impl Clone for Point2WithId
[src]
fn clone(&self) -> Point2WithId
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl PartialEq for Point2WithId
[src]
fn eq(&self, __arg_0: &Point2WithId) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Point2WithId) -> bool
This method tests for !=
.