Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Apress/beginning-rust-2e
/ re
Method
re
Source Code/20-09.rs:12–12 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
10
Self { re, im }
11
}
12
pub fn re(&self) -> &f64 { &self.re }
13
pub fn im(&self) -> &f64 { &self.im }
14
}
15
impl std::ops::Add for Complex {
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected