pub struct CellOwnershipUpdate {
pub source_station: StationId,
pub target_station: StationId,
pub moved_cells: Vec<CellCoord3>,
}Expand description
Result of applying cell ownership changes.
Fields§
§source_station: StationIdPrevious/source station.
target_station: StationIdNew/target station.
moved_cells: Vec<CellCoord3>Cells whose owner changed.
Trait Implementations§
Source§impl Clone for CellOwnershipUpdate
impl Clone for CellOwnershipUpdate
Source§fn clone(&self) -> CellOwnershipUpdate
fn clone(&self) -> CellOwnershipUpdate
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 CellOwnershipUpdate
impl Debug for CellOwnershipUpdate
Source§impl Default for CellOwnershipUpdate
impl Default for CellOwnershipUpdate
Source§fn default() -> CellOwnershipUpdate
fn default() -> CellOwnershipUpdate
Returns the “default value” for a type. Read more
impl Eq for CellOwnershipUpdate
Source§impl PartialEq for CellOwnershipUpdate
impl PartialEq for CellOwnershipUpdate
impl StructuralPartialEq for CellOwnershipUpdate
Auto Trait Implementations§
impl Freeze for CellOwnershipUpdate
impl RefUnwindSafe for CellOwnershipUpdate
impl Send for CellOwnershipUpdate
impl Sync for CellOwnershipUpdate
impl Unpin for CellOwnershipUpdate
impl UnsafeUnpin for CellOwnershipUpdate
impl UnwindSafe for CellOwnershipUpdate
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