MCPcopy Index your code
hub / github.com/douchuan/algorithm / i_am_right

Method i_am_right

src/tree/binary/node.rs:235–237  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

233 }
234
235 pub fn i_am_right(&self) -> bool {
236 self.is_some() && self.parent().right().node == self.node
237 }
238
239 pub fn is_leaf(&self) -> bool {
240 self.node

Callers 1

insert_fixFunction · 0.80

Calls 3

is_someMethod · 0.80
parentMethod · 0.80
rightMethod · 0.45

Tested by

no test coverage detected