pub struct TreeMap<'a> {
pub maps: List<MapInfo<'a>>,
pub tree_order: Vec<i32>,
pub active_node: i32,
pub start: Start,
}Fields§
§maps: List<MapInfo<'a>>§tree_order: Vec<i32>§active_node: i32§start: StartImplementations§
Source§impl<'a> TreeMap<'a>
impl<'a> TreeMap<'a>
pub fn read_inline(cur: &mut Cursor<'a>, ctx: &mut Ctx<'_>) -> Self
Sourcepub fn write_inline<S: Sink>(
&self,
sink: &mut S,
engine: Engine,
) -> Result<(), S::Error>
pub fn write_inline<S: Sink>( &self, sink: &mut S, engine: Engine, ) -> Result<(), S::Error>
Writes the tree without the file magic. file::save_tree_map adds that.
§Errors
Propagates the sink’s error.
Trait Implementations§
impl<'a> StructuralPartialEq for TreeMap<'a>
Auto Trait Implementations§
impl<'a> Freeze for TreeMap<'a>
impl<'a> RefUnwindSafe for TreeMap<'a>
impl<'a> Send for TreeMap<'a>
impl<'a> Sync for TreeMap<'a>
impl<'a> Unpin for TreeMap<'a>
impl<'a> UnsafeUnpin for TreeMap<'a>
impl<'a> UnwindSafe for TreeMap<'a>
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