Struct pathfinder::HashLink [−][src]
pub struct HashLink { pub from_hash: u64, pub to_hash: u64, pub from: Option<Coordinate>, pub to: Option<Coordinate>, }
Fields
from_hash: u64
to_hash: u64
from: Option<Coordinate>
to: Option<Coordinate>
Methods
impl HashLink
[src]
impl HashLink
Trait Implementations
impl Copy for HashLink
[src]
impl Copy for HashLink
impl Clone for HashLink
[src]
impl Clone for HashLink
fn clone(&self) -> HashLink
[src]
fn clone(&self) -> HashLink
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)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for HashLink
[src]
impl Debug for HashLink
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Default for HashLink
[src]
impl Default for HashLink
impl Location for HashLink
[src]
impl Location for HashLink
fn get_coordinate(&self) -> Coordinate
[src]
fn get_coordinate(&self) -> Coordinate
fn get_parameters(&self) -> (Coordinate, Coordinate)
[src]
fn get_parameters(&self) -> (Coordinate, Coordinate)
fn find(&self, hash: u64) -> Option<Coordinate>
[src]
fn find(&self, hash: u64) -> Option<Coordinate>