pub enum SimulationGranularity {
Aggregate,
Group,
Actor,
}Expand description
Generic simulation granularity used by host applications to map aggregate, group, and individual actors onto the same authoritative engine.
The engine deliberately does not call these levels “population”, “special
group”, or “character”. Those are content terms owned by a reference
integration such as Celestial Mandate. A host may map its population model
to Self::Aggregate, its special groups to Self::Group, and its
characters to Self::Actor without changing the kernel’s identity wire
format.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for SimulationGranularity
impl Clone for SimulationGranularity
Source§fn clone(&self) -> SimulationGranularity
fn clone(&self) -> SimulationGranularity
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 SimulationGranularity
Source§impl Debug for SimulationGranularity
impl Debug for SimulationGranularity
Source§impl<'de> Deserialize<'de> for SimulationGranularity
impl<'de> Deserialize<'de> for SimulationGranularity
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<SimulationGranularity, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SimulationGranularity, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SimulationGranularity
Source§impl Hash for SimulationGranularity
impl Hash for SimulationGranularity
Source§impl Ord for SimulationGranularity
impl Ord for SimulationGranularity
Source§fn cmp(&self, other: &SimulationGranularity) -> Ordering
fn cmp(&self, other: &SimulationGranularity) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for SimulationGranularity
impl PartialEq for SimulationGranularity
Source§impl PartialOrd for SimulationGranularity
impl PartialOrd for SimulationGranularity
Source§impl Serialize for SimulationGranularity
impl Serialize for SimulationGranularity
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for SimulationGranularity
Auto Trait Implementations§
impl Freeze for SimulationGranularity
impl RefUnwindSafe for SimulationGranularity
impl Send for SimulationGranularity
impl Sync for SimulationGranularity
impl Unpin for SimulationGranularity
impl UnsafeUnpin for SimulationGranularity
impl UnwindSafe for SimulationGranularity
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