Struct flat_spatial::grid::GridHandle
source · #[repr(transparent)]pub struct GridHandle(_);
Expand description
This handle is used to modify the associated object or to update its position. It is returned by the insert method of a Grid.
Trait Implementations§
source§impl Clone for GridHandle
impl Clone for GridHandle
source§fn clone(&self) -> GridHandle
fn clone(&self) -> GridHandle
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 Debug for GridHandle
impl Debug for GridHandle
source§impl Default for GridHandle
impl Default for GridHandle
source§fn default() -> GridHandle
fn default() -> GridHandle
Returns the “default value” for a type. Read more
source§impl From<KeyData> for GridHandle
impl From<KeyData> for GridHandle
source§impl Hash for GridHandle
impl Hash for GridHandle
source§impl Key for GridHandle
impl Key for GridHandle
source§fn null() -> Self
fn null() -> Self
Creates a new key that is always invalid and distinct from any non-null
key. A null key can only be created through this method (or default
initialization of keys made with
new_key_type!
, which calls this
method). Read moresource§impl Ord for GridHandle
impl Ord for GridHandle
source§fn cmp(&self, other: &GridHandle) -> Ordering
fn cmp(&self, other: &GridHandle) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<GridHandle> for GridHandle
impl PartialEq<GridHandle> for GridHandle
source§fn eq(&self, other: &GridHandle) -> bool
fn eq(&self, other: &GridHandle) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<GridHandle> for GridHandle
impl PartialOrd<GridHandle> for GridHandle
source§fn partial_cmp(&self, other: &GridHandle) -> Option<Ordering>
fn partial_cmp(&self, other: &GridHandle) -> Option<Ordering>
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 Copy for GridHandle
impl Eq for GridHandle
impl StructuralEq for GridHandle
impl StructuralPartialEq for GridHandle
Auto Trait Implementations§
impl RefUnwindSafe for GridHandle
impl Send for GridHandle
impl Sync for GridHandle
impl Unpin for GridHandle
impl UnwindSafe for GridHandle
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