Trait dock_runtime::common::state_change::ToStateChange
source · pub trait ToStateChange<T>where
T: TypesAndLimits,{
// Required method
fn to_state_change(&self) -> StateChange<'_, T>;
}
Expand description
Converts the given entity to the state change.
Required Methods§
sourcefn to_state_change(&self) -> StateChange<'_, T>
fn to_state_change(&self) -> StateChange<'_, T>
Converts the given entity to the state change.