pub struct MvsjFile {
pub metadata: Metadata,
pub snapshots: Vec<Snapshot>,
}Expand description
A multi-snapshot .mvsj document (a “story”): an ordered sequence of scene
states sharing one metadata block, as produced by tools like mol-view-stories.
This is distinct from State, which holds a single root node. Use State for
single-frame MVSJ files and MvsjFile for animated/guided-tour sequences.
Fields§
§metadata: Metadata§snapshots: Vec<Snapshot>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for MvsjFile
impl<'de> Deserialize<'de> for MvsjFile
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for MvsjFile
impl RefUnwindSafe for MvsjFile
impl Send for MvsjFile
impl Sync for MvsjFile
impl Unpin for MvsjFile
impl UnsafeUnpin for MvsjFile
impl UnwindSafe for MvsjFile
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