pub struct Point1WithId {
pub id: i32,
/* private fields */
}
Fields§
§id: i32
Implementations§
Source§impl Point1WithId
impl Point1WithId
pub fn new(id: i32, x: f64) -> Point1WithId
Trait Implementations§
Source§impl Clone for Point1WithId
impl Clone for Point1WithId
Source§fn clone(&self) -> Point1WithId
fn clone(&self) -> Point1WithId
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl KdtreePointTrait for Point1WithId
impl KdtreePointTrait for Point1WithId
Source§impl PartialEq for Point1WithId
impl PartialEq for Point1WithId
impl Copy for Point1WithId
impl StructuralPartialEq for Point1WithId
Auto Trait Implementations§
impl Freeze for Point1WithId
impl RefUnwindSafe for Point1WithId
impl Send for Point1WithId
impl Sync for Point1WithId
impl Unpin for Point1WithId
impl UnwindSafe for Point1WithId
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more