pub struct SpatialItem<K> {
pub key: K,
pub bounds: Aabb,
}Expand description
Key and bounds supplied to an index builder.
Fields§
§key: KCaller-owned identity.
bounds: AabbBroad-phase bounds.
Implementations§
Trait Implementations§
Source§impl<K: Clone> Clone for SpatialItem<K>
impl<K: Clone> Clone for SpatialItem<K>
Source§fn clone(&self) -> SpatialItem<K>
fn clone(&self) -> SpatialItem<K>
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<K: Debug> Debug for SpatialItem<K>
impl<K: Debug> Debug for SpatialItem<K>
Source§impl<K: PartialEq> PartialEq for SpatialItem<K>
impl<K: PartialEq> PartialEq for SpatialItem<K>
impl<K> StructuralPartialEq for SpatialItem<K>
Auto Trait Implementations§
impl<K> Freeze for SpatialItem<K>where
K: Freeze,
impl<K> RefUnwindSafe for SpatialItem<K>where
K: RefUnwindSafe,
impl<K> Send for SpatialItem<K>where
K: Send,
impl<K> Sync for SpatialItem<K>where
K: Sync,
impl<K> Unpin for SpatialItem<K>where
K: Unpin,
impl<K> UnwindSafe for SpatialItem<K>where
K: UnwindSafe,
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