Struct pathfinding::map::Point
source · pub struct Point {
pub x: IndexType,
pub y: IndexType,
pub f: IndexType,
pub g: IndexType,
pub h: IndexType,
}Fields§
§x: IndexType§y: IndexType§f: IndexType§g: IndexType§h: IndexTypeImplementations§
Trait Implementations§
source§impl Ord for Point
impl Ord for Point
source§impl PartialOrd for Point
impl PartialOrd for Point
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Eq for Point
Auto Trait Implementations§
impl RefUnwindSafe for Point
impl Send for Point
impl Sync for Point
impl Unpin for Point
impl UnwindSafe for Point
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