pub fn new(board: &str,
               tockloader_path: &Path,
               source_path: &Path,
               app_path: &Path) -> Tock {
        Tock {
            board: board.to_string(),
            tockloader_path: tockloader_path.to_path_buf(),
            loaded_apps: RefCell::new(HashSet::new()),
            enabled_trace_points: RefCell::new(HashSet::new()),
            source_path: source_path.to_path_buf(),
            app_path: app_path.to_path_buf(),
        }
    }
/// Create a new Tock platform instance.
Create a new Tock platform instance.
Create a new Tock platform instance .
pub fn new(board: &str,
               tockloader_path: &Path,
               source_path: &Path,
               app_path: &Path) -> Tock {
        Tock {
            board: board.to_string(),
            tockloader_path: tockloader_path.to_path_buf(),
            loaded_apps: RefCell::new(HashSet::new()),
            enabled_trace_points: RefCell::new(HashSet::new()),
            source_path: source_path.to_path_buf(),
            app_path: app_path.to_path_buf(),
        }
    }
pub fn new ( board : & str , tockloader_path : & Path , source_path : & Path , app_path : & Path ) -> Tock { Tock { board : board . to_string ( ) , tockloader_path : tockloader_path . to_path_buf ( ) , loaded_apps : RefCell :: new ( HashSet :: new ( ) ) , enabled_trace_points : RefCell :: new ( HashSet :: new ( ) ) , source_path : source_path . to_path_buf ( ) , app_path : app_path . to_path_buf ( ) , } }
Create a new Tock platform instance.
Create a new Tock platform instance .
board
&str
tockloader_path
&Path
source_path
&Path
app_path
&Path
board
&str
tockloader_path
&Path
source_path
&Path
app_path
&Path