pub struct LocalSaveSnapshot {
pub save_id: [u16; 7],
pub append_dir: String,
pub append_name: String,
pub save_scene_title: String,
pub save_msg: String,
pub save_full_msg: String,
pub local_stream: Vec<u8>,
pub local_ex_stream: Vec<u8>,
pub sel_saves: Vec<OriginalLocalSaveEnvelope>,
}Expand description
Engine-side cache mirroring the C++ S_tnm_local_save (a.k.a. Gp_eng->m_local_save).
Populated by GLOBAL_SAVEPOINT (tnm_save_local) and after a successful load
(tnm_load_local_on_file). All save-to-file paths (normal / quick / end) must
pull from this cache instead of re-serializing the live runtime.
Fields§
§save_id: [u16; 7]§append_dir: String§append_name: String§save_scene_title: String§save_msg: String§save_full_msg: String§local_stream: Vec<u8>§local_ex_stream: Vec<u8>§sel_saves: Vec<OriginalLocalSaveEnvelope>Trait Implementations§
Source§impl Clone for LocalSaveSnapshot
impl Clone for LocalSaveSnapshot
Source§fn clone(&self) -> LocalSaveSnapshot
fn clone(&self) -> LocalSaveSnapshot
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LocalSaveSnapshot
impl Debug for LocalSaveSnapshot
Source§impl Default for LocalSaveSnapshot
impl Default for LocalSaveSnapshot
Source§fn default() -> LocalSaveSnapshot
fn default() -> LocalSaveSnapshot
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LocalSaveSnapshot
impl RefUnwindSafe for LocalSaveSnapshot
impl Send for LocalSaveSnapshot
impl Sync for LocalSaveSnapshot
impl Unpin for LocalSaveSnapshot
impl UnsafeUnpin for LocalSaveSnapshot
impl UnwindSafe for LocalSaveSnapshot
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.