MCPcopy Create free account
hub / github.com/PoiScript/orgize / to_index_map

Method to_index_map

src/ast/drawer.rs:61–63  ·  view source on GitHub ↗

```rust use orgize::{Org, ast::PropertyDrawer}; let org = Org::parse("* Heading\n:PROPERTIES:\n:CUSTOM_ID: someid\n:ID: id\n:END:"); let drawer = org.first_node:: ().unwrap(); let map = drawer.to_index_map(); let item1 = map.get_index(1).unwrap(); assert_eq!(item1.0, "ID"); assert_eq!(item1.1, "id"); ```

(&self)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

iterMethod · 0.80

Tested by

no test coverage detected