pub struct TransientSaves(pub bool);Expand description
Keeps a preview session out of the user’s real save files: while present and
true, the systems that persist play state (behavior variables / once flags,
story position) neither read nor write their disk saves – every session
starts fresh and leaves no trace. In-memory state is unaffected, so a save
node still works within the session. Published by the cn editor HUD
injection (sampled at each system’s init); a shipped runtime never
publishes it.
Tuple Fields§
§0: boolTrait Implementations§
Source§impl Clone for TransientSaves
impl Clone for TransientSaves
Source§fn clone(&self) -> TransientSaves
fn clone(&self) -> TransientSaves
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TransientSaves
Source§impl Debug for TransientSaves
impl Debug for TransientSaves
Source§impl Default for TransientSaves
impl Default for TransientSaves
Source§fn default() -> TransientSaves
fn default() -> TransientSaves
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TransientSaves
impl RefUnwindSafe for TransientSaves
impl Send for TransientSaves
impl Sync for TransientSaves
impl Unpin for TransientSaves
impl UnsafeUnpin for TransientSaves
impl UnwindSafe for TransientSaves
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