ngx_rbtree_min

Function ngx_rbtree_min 

Source
pub unsafe fn ngx_rbtree_min(
    node: *mut ngx_rbtree_node_t,
    sentinel: *mut ngx_rbtree_node_t,
) -> *mut ngx_rbtree_node_t
Expand description

Returns the least (leftmost) node of the tree.

ยงSafety

node must be a valid pointer to a [ngx_rbtree_node_t]. sentinel must be a valid pointer to the sentinel node in the same Red-Black tree.