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

Method is_none

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

Source from the content-addressed store, hash-verified

225 }
226
227 pub fn is_none(&self) -> bool {
228 self.node.is_none()
229 }
230
231 pub fn i_am_left(&self) -> bool {
232 self.is_some() && self.parent().left().node == self.node

Callers 15

putMethod · 0.80
is_emptyMethod · 0.80
putMethod · 0.80
put_dthMethod · 0.80
has_cycleFunction · 0.80
push_frontMethod · 0.80
pop_frontMethod · 0.80
checkMethod · 0.80
checkMethod · 0.80
checkMethod · 0.80
newMethod · 0.80
insertMethod · 0.80

Calls

no outgoing calls

Tested by 2

t_rotate_leftFunction · 0.64
t_rotate_rightFunction · 0.64