pub struct SimWorld {
pub resources: ResourceRequirements,
}Expand description
The simulation shard (authoritative world) of a SimCell.
Fields§
§resources: ResourceRequirementsResources the world simulator needs (often CPU-heavy, GPU-optional).
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SimWorld
impl<'de> Deserialize<'de> for SimWorld
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SimWorld
impl RefUnwindSafe for SimWorld
impl Send for SimWorld
impl Sync for SimWorld
impl Unpin for SimWorld
impl UnsafeUnpin for SimWorld
impl UnwindSafe for SimWorld
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