MCPcopy Create free account
hub / github.com/Apress/beginning-rust-2e / im

Method im

Source Code/20-10.rs:13–13  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

11 }
12 pub fn re(&self) -> &Num { &self.re }
13 pub fn im(&self) -> &Num { &self.im }
14 }
15 impl<Num> std::ops::Add for Complex<Num>
16 where Num: std::ops::Add<Output = Num> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected