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

Class Frog

exercise/logging/src/lib.rs:10–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8
9#[derive(Debug)]
10pub struct Frog {
11 energy: u8,
12 sleeping: bool,
13}
14
15impl Frog {
16 pub fn new() -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected