Struct grass_runtime::algorithm::Point
source · [−]pub struct Point<T: Region> {
pub is_open: bool,
pub index: usize,
pub depth: usize,
pub value: T,
}Fields
is_open: boolindex: usizedepth: usizevalue: TImplementations
Trait Implementations
sourceimpl<T: Region> Ord for Point<T>
impl<T: Region> Ord for Point<T>
sourceimpl<T: Region> PartialOrd<Point<T>> for Point<T>
impl<T: Region> PartialOrd<Point<T>> for Point<T>
sourcefn partial_cmp(&self, other: &Point<T>) -> Option<Ordering>
fn partial_cmp(&self, other: &Point<T>) -> Option<Ordering>
This method returns an ordering between self and other values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · sourcefn 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 more
impl<T: Region> Eq for Point<T>
Auto Trait Implementations
impl<T> RefUnwindSafe for Point<T> where
T: RefUnwindSafe,
impl<T> Send for Point<T> where
T: Send,
impl<T> Sync for Point<T> where
T: Sync,
impl<T> Unpin for Point<T> where
T: Unpin,
impl<T> UnwindSafe for Point<T> where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more