pub struct MemoryTree {
pub path: Vec<String>,
pub variables: Vec<Variable>,
}Expand description
The current directory and HOME’s tree (Emulator::memory_tree).
Fields§
§path: Vec<String>The current directory, e.g. ["HOME", "A"].
variables: Vec<Variable>HOME’s variables, newest first, with sub-directories.
Trait Implementations§
Source§impl Clone for MemoryTree
impl Clone for MemoryTree
Source§impl Debug for MemoryTree
impl Debug for MemoryTree
Auto Trait Implementations§
impl Forget for MemoryTree
impl Freeze for MemoryTree
impl Move for MemoryTree
impl RefUnwindSafe for MemoryTree
impl Send for MemoryTree
impl Sync for MemoryTree
impl Unpin for MemoryTree
impl UnsafeUnpin for MemoryTree
impl UnwindSafe for MemoryTree
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