pub fn new(version_map: VersionMap, target_version: u16) -> Snapshot {
        Snapshot {
            version_map,
            hdr: SnapshotHdr::default(),
            format_version: SNAPSHOT_FORMAT_VERSION,
            target_version,
        }
    }
/// Creates a new instance which can only be used to save a new snapshot.
Creates a new instance which can only be used to save a new snapshot.
Creates a new instance which can only be used to save a new snapshot .
pub fn new(version_map: VersionMap, target_version: u16) -> Snapshot {
        Snapshot {
            version_map,
            hdr: SnapshotHdr::default(),
            format_version: SNAPSHOT_FORMAT_VERSION,
            target_version,
        }
    }
pub fn new ( version_map : VersionMap , target_version : u16 ) -> Snapshot { Snapshot { version_map , hdr : SnapshotHdr :: default ( ) , format_version : SNAPSHOT_FORMAT_VERSION , target_version , } }
Creates a new instance which can only be used to save a new snapshot.
Creates a new instance which can only be used to save a new snapshot .
version_map
VersionMap
target_version
u16
version_map
VersionMap
target_version
u16