pub struct SaveSlot {
pub slot_number: u8,
pub path: String,
pub header: Option<SaveHeader>,
}Expand description
A single numbered save slot. header is None if the slot is empty.
Fields§
§slot_number: u8The slot number (0-based).
path: StringAbsolute path to the save file on disk (may not exist if slot is empty).
header: Option<SaveHeader>The header parsed from the file, or None if the slot is empty.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SaveSlot
impl RefUnwindSafe for SaveSlot
impl Send for SaveSlot
impl Sync for SaveSlot
impl Unpin for SaveSlot
impl UnsafeUnpin for SaveSlot
impl UnwindSafe for SaveSlot
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