Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/QMHTMY/RustBook
/ get_left
Method
get_left
publication/code/chapter08/binary_tree.rs:130–132 ·
view source on GitHub ↗
获取左右子树
(&self)
Source
from the content-addressed store, hash-verified
128
129
// 获取左右子树
130
fn get_left(&self) -> Link<T> {
131
self.left.clone()
132
}
133
134
fn get_right(&self) -> Link<T> {
135
self.right.clone()
Callers
6
levelorder
Method · 0.45
preorder
Function · 0.45
inorder
Function · 0.45
postorder
Function · 0.45
levelorder
Function · 0.45
oexp
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected