Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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)]
10
pub struct Frog {
11
energy: u8,
12
sleeping: bool,
13
}
14
15
impl Frog {
16
pub fn new() -> Self {
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected