pub struct CellOccupancy {
pub cell: CellCoord3,
pub entities: usize,
}Expand description
Occupancy count for one non-empty cell.
Fields§
§cell: CellCoord3Cell coordinate.
entities: usizeNumber of indexed entity handles in the cell.
Trait Implementations§
Source§impl Clone for CellOccupancy
impl Clone for CellOccupancy
Source§fn clone(&self) -> CellOccupancy
fn clone(&self) -> CellOccupancy
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CellOccupancy
Source§impl Debug for CellOccupancy
impl Debug for CellOccupancy
impl Eq for CellOccupancy
Source§impl PartialEq for CellOccupancy
impl PartialEq for CellOccupancy
impl StructuralPartialEq for CellOccupancy
Auto Trait Implementations§
impl Freeze for CellOccupancy
impl RefUnwindSafe for CellOccupancy
impl Send for CellOccupancy
impl Sync for CellOccupancy
impl Unpin for CellOccupancy
impl UnsafeUnpin for CellOccupancy
impl UnwindSafe for CellOccupancy
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