pub struct RestoredSnapshot {
pub solids: Vec<RestoredSolid>,
pub metadata: Vec<(String, Map<String, Value>)>,
}Expand description
The output of restore_solids: solids in snapshot order plus the
captured scene-metadata records (entity name -> own record), NOT stamped
into the store — see the metadata seam in the module doc.
Fields§
§solids: Vec<RestoredSolid>§metadata: Vec<(String, Map<String, Value>)>Trait Implementations§
Source§impl Clone for RestoredSnapshot
impl Clone for RestoredSnapshot
Auto Trait Implementations§
impl !RefUnwindSafe for RestoredSnapshot
impl !Sync for RestoredSnapshot
impl Forget for RestoredSnapshot
impl Freeze for RestoredSnapshotwhere
*const u8 is !null: Freeze,
PhantomData<RestoredSolid>: Freeze,
PhantomData<(String, Map<String, Value>)>: Freeze,
impl Move for RestoredSnapshot
impl Send for RestoredSnapshotwhere
RawVecInner: Send,
Cell<Option<(FaceSetIdentity, MassProperties)>>: Send,
Cell<bool>: Send,
BoxRaw<[(f64, Vec3)]>: Send,
BoxRaw<[SeedBlock]>: Send,
Arc<[f64]>: Send,
Arc<[Vec3]>: Send,
Arc<[CellBox]>: Send,
Arc<[CellTreeNode]>: Send,
Arc<Mutex<HashMap<(u32, u32), Vec3, FxBuildHasher>>>: Send,
Arc<Mutex<HashMap<usize, Option<CellBox>, FxBuildHasher>>>: Send,
Arc<SurfacePatches>: Send,
RawTable<usize>: Send,
impl Unpin for RestoredSnapshotwhere
*const u8 is !null: Unpin,
Box<[(f64, Vec3)]>: Unpin,
Box<[SeedBlock]>: Unpin,
Arc<[f64]>: Unpin,
Arc<[Vec3]>: Unpin,
Arc<[CellBox]>: Unpin,
Arc<[CellTreeNode]>: Unpin,
Arc<Mutex<HashMap<(u32, u32), Vec3, FxBuildHasher>>>: Unpin,
Arc<Mutex<HashMap<usize, Option<CellBox>, FxBuildHasher>>>: Unpin,
Arc<SurfacePatches>: Unpin,
impl UnsafeUnpin for RestoredSnapshotwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<RestoredSolid>: UnsafeUnpin,
PhantomData<(String, Map<String, Value>)>: UnsafeUnpin,
impl UnwindSafe for RestoredSnapshotwhere
RawVecInner: UnwindSafe,
BoxRaw<[(f64, Vec3)]>: UnwindSafe,
BoxRaw<[SeedBlock]>: UnwindSafe,
Arc<[f64]>: UnwindSafe,
Arc<[Vec3]>: UnwindSafe,
Arc<[CellBox]>: UnwindSafe,
Arc<[CellTreeNode]>: UnwindSafe,
Arc<Mutex<HashMap<(u32, u32), Vec3, FxBuildHasher>>>: UnwindSafe,
Arc<Mutex<HashMap<usize, Option<CellBox>, FxBuildHasher>>>: UnwindSafe,
Arc<SurfacePatches>: UnwindSafe,
NonNull<u8>: UnwindSafe,
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