pub struct WorldData<T> { /* private fields */ }Expand description
A value kept with the world (<world>/yog-data/<mod>/world.ydata, at
its key): its default where there’s none yet; with no world open (a
client of another’s server) it’s kept in memory only.
Implementations§
Auto Trait Implementations§
impl<T> !Freeze for WorldData<T>
impl<T> RefUnwindSafe for WorldData<T>
impl<T> Send for WorldData<T>
impl<T> Sync for WorldData<T>
impl<T> Unpin for WorldData<T>
impl<T> UnsafeUnpin for WorldData<T>
impl<T> UnwindSafe for WorldData<T>
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