pub(crate) struct CollisionLocation {
pub(crate) first_bucket: usize,
pub(crate) first_item: usize,
pub(crate) second_item: usize,
}
Expand description
Locating information for one partial sum collision between items in complementary buckets.
Fields§
§first_bucket: usize
Bucket index for the first colliding item, and the additive inverse of the bucket index for the second colliding item.
first_item: usize
Index of the first colliding item within its bucket
second_item: usize
Index of the second colliding item within its bucket
Implementations§
Trait Implementations§
Source§impl Clone for CollisionLocation
impl Clone for CollisionLocation
Source§fn clone(&self) -> CollisionLocation
fn clone(&self) -> CollisionLocation
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 moreAuto Trait Implementations§
impl Freeze for CollisionLocation
impl RefUnwindSafe for CollisionLocation
impl Send for CollisionLocation
impl Sync for CollisionLocation
impl Unpin for CollisionLocation
impl UnwindSafe for CollisionLocation
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