pub struct TierChange {
pub instance: usize,
pub from: Tier,
pub to: Tier,
}Expand description
Ein Stufenwechsel einer Instanz (Index in WorldPartition::instances).
Fields§
§instance: usize§from: Tier§to: TierTrait Implementations§
Source§impl Clone for TierChange
impl Clone for TierChange
Source§fn clone(&self) -> TierChange
fn clone(&self) -> TierChange
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 TierChange
Source§impl Debug for TierChange
impl Debug for TierChange
impl Eq for TierChange
Source§impl PartialEq for TierChange
impl PartialEq for TierChange
Source§fn eq(&self, other: &TierChange) -> bool
fn eq(&self, other: &TierChange) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TierChange
Auto Trait Implementations§
impl Freeze for TierChange
impl RefUnwindSafe for TierChange
impl Send for TierChange
impl Sync for TierChange
impl Unpin for TierChange
impl UnsafeUnpin for TierChange
impl UnwindSafe for TierChange
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