pub struct GameData<T> { /* private fields */ }Expand description
A value kept for the install, whatever world (<game>/yog-data/<mod>/game.ydata):
written as it changes.
Implementations§
Auto Trait Implementations§
impl<T> !Freeze for GameData<T>
impl<T> RefUnwindSafe for GameData<T>
impl<T> Send for GameData<T>
impl<T> Sync for GameData<T>
impl<T> Unpin for GameData<T>
impl<T> UnsafeUnpin for GameData<T>
impl<T> UnwindSafe for GameData<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