MCPcopy Create free account
hub / github.com/AxlLind/AdventOfCode / from_input

Method from_input

2020/src/bin/20.rs:21–26  ·  view source on GitHub ↗
(tile: &[&str], id: usize)

Source from the content-addressed store, hash-verified

19
20impl Tile {
21 fn from_input(tile: &[&str], id: usize) -> Self {
22 Self {
23 v: tile.iter().map(|s| s.chars().collect()).collect(),
24 id,
25 }
26 }
27
28 fn get_edges(&self) -> (String,String) {
29 let (mut b1, mut b2) = (String::new(), String::new());

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected