mirror of
https://github.com/tauri-apps/rustdocusaurus.git
synced 2026-02-04 10:41:19 +01:00
21 lines
336 B
JavaScript
21 lines
336 B
JavaScript
// Modified by side-effect; will also define the order in the sidebar
|
|
const itemsReference = {
|
|
index: [],
|
|
module: {},
|
|
enum: [],
|
|
fn: [],
|
|
struct: [],
|
|
trait: [],
|
|
type: [],
|
|
macro: [],
|
|
constant: [],
|
|
attr: [],
|
|
};
|
|
|
|
const clone = (item) => JSON.parse(JSON.stringify(item));
|
|
|
|
module.exports = {
|
|
itemsReference,
|
|
clone,
|
|
};
|