MCPcopy Create free account
hub / github.com/CleanCut/ultimate_rust2 / from

Method from

example/puzzles/src/lib.rs:55–57  ·  view source on GitHub ↗
(puzzle: &Puzzle)

Source from the content-addressed store, hash-verified

53
54impl From<&Puzzle> for String {
55 fn from(puzzle: &Puzzle) -> Self {
56 puzzle.name.clone()
57 }
58}
59
60pub fn show<T: Into<String>>(s: T) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected