pub struct Ecs<ST> { /* private fields */ }
Expand description
Generic entity component system container
Needs to be specified with the parametrized Store
type that has struct fields for the actual
components. This can be done with the Ecs!
macro.
Implementations§
Trait Implementations§
Source§impl<'de, ST> Deserialize<'de> for Ecs<ST>where
ST: Deserialize<'de>,
impl<'de, ST> Deserialize<'de> for Ecs<ST>where
ST: Deserialize<'de>,
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<ST> Freeze for Ecs<ST>where
ST: Freeze,
impl<ST> RefUnwindSafe for Ecs<ST>where
ST: RefUnwindSafe,
impl<ST> Send for Ecs<ST>where
ST: Send,
impl<ST> Sync for Ecs<ST>where
ST: Sync,
impl<ST> Unpin for Ecs<ST>where
ST: Unpin,
impl<ST> UnwindSafe for Ecs<ST>where
ST: UnwindSafe,
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