Struct voidmap::Screen
[−]
[src]
pub struct Screen {
pub max_id: u64,
pub nodes: HashMap<NodeID, Node>,
pub arrows: Vec<(NodeID, NodeID)>,
pub work_path: Option<String>,
pub config: Config,
pub dims: Coords,
pub is_test: bool,
pub tag_db: TagDB,
// some fields omitted
}Fields
max_id: u64
nodes: HashMap<NodeID, Node>
arrows: Vec<(NodeID, NodeID)>
work_path: Option<String>
config: Config
dims: Coords
is_test: bool
tag_db: TagDB
Methods
impl Screen[src]
fn with_node<B, F>(&self, k: NodeID, f: F) -> Option<B> where F: FnMut(&Node) -> B
fn handle_event(&mut self, evt: Event) -> bool
fn arrange(&mut self)
fn recursive_child_filter_map<F, B>(&self,
node_id: NodeID,
filter_map: &mut F)
-> Vec<B> where F: FnMut(&Node) -> Option<B>
node_id: NodeID,
filter_map: &mut F)
-> Vec<B> where F: FnMut(&Node) -> Option<B>