Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/QMHTMY/RustBook
/ get_left
Method
get_left
publication/code/chapter08/bst.rs:227–229 ·
view source on GitHub ↗
获取左右子节点
(&self)
Source
from the content-addressed store, hash-verified
225
226
// 获取左右子节点
227
fn get_left(&self) -> Link<T,U> {
228
self.left.clone()
229
}
230
231
fn get_right(&self) -> Link<T,U> {
232
self.right.clone()
Callers
5
levelorder
Method · 0.45
preorder
Function · 0.45
inorder
Function · 0.45
postorder
Function · 0.45
levelorder
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected