pub struct CellMigrationReport {
pub source_station: StationId,
pub target_station: StationId,
pub scanned_cells: Vec<CellCoord3>,
pub entity_migrations: Vec<EntityMigrationReport>,
pub skipped_missing_handles: usize,
pub skipped_non_owned: usize,
pub skipped_duplicate_entities: usize,
}Expand description
Result of migrating entities indexed by moved cells.
Fields§
§source_station: StationIdSource station.
target_station: StationIdTarget station.
scanned_cells: Vec<CellCoord3>Cells scanned for owner entities.
entity_migrations: Vec<EntityMigrationReport>Entity migrations that were committed.
skipped_missing_handles: usizeCandidate handles that no longer resolved to an entity.
skipped_non_owned: usizeCandidate entities skipped because they were ghosts or non-authoritative.
skipped_duplicate_entities: usizeDuplicate candidate entities skipped after first occurrence.
Trait Implementations§
Source§impl Clone for CellMigrationReport
impl Clone for CellMigrationReport
Source§fn clone(&self) -> CellMigrationReport
fn clone(&self) -> CellMigrationReport
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 moreSource§impl Debug for CellMigrationReport
impl Debug for CellMigrationReport
Source§impl Default for CellMigrationReport
impl Default for CellMigrationReport
Source§fn default() -> CellMigrationReport
fn default() -> CellMigrationReport
Returns the “default value” for a type. Read more
Source§impl PartialEq for CellMigrationReport
impl PartialEq for CellMigrationReport
impl StructuralPartialEq for CellMigrationReport
Auto Trait Implementations§
impl Freeze for CellMigrationReport
impl RefUnwindSafe for CellMigrationReport
impl Send for CellMigrationReport
impl Sync for CellMigrationReport
impl Unpin for CellMigrationReport
impl UnsafeUnpin for CellMigrationReport
impl UnwindSafe for CellMigrationReport
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