Struct flat_spatial::aabbgrid::StoreObject
source · pub struct StoreObject<O: Copy, AB: AABB> {
pub obj: O,
pub aabb: AB,
}
Expand description
The actual object stored in the store
Fields§
§obj: O
User-defined object to be associated with a value
aabb: AB
Trait Implementations§
source§impl<O: Clone + Copy, AB: Clone + AABB> Clone for StoreObject<O, AB>
impl<O: Clone + Copy, AB: Clone + AABB> Clone for StoreObject<O, AB>
source§fn clone(&self) -> StoreObject<O, AB>
fn clone(&self) -> StoreObject<O, AB>
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 moreimpl<O: Copy + Copy, AB: Copy + AABB> Copy for StoreObject<O, AB>
Auto Trait Implementations§
impl<O, AB> RefUnwindSafe for StoreObject<O, AB>where AB: RefUnwindSafe, O: RefUnwindSafe,
impl<O, AB> Send for StoreObject<O, AB>where AB: Send, O: Send,
impl<O, AB> Sync for StoreObject<O, AB>where AB: Sync, O: Sync,
impl<O, AB> Unpin for StoreObject<O, AB>where AB: Unpin, O: Unpin,
impl<O, AB> UnwindSafe for StoreObject<O, AB>where AB: UnwindSafe, O: 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