pub fn find_ref(self, x: &K) -> Option<&'a V> {
        match self {
            Map(None) => None,
            Map(Some(Node(l, v, d, r, _h))) => match x.cmp(v) {
                Ordering::Equal => Some(d),
                Ordering::Less => l.find_ref(x),
                Ordering::Greater => r.find_ref(x),
            },
        }
    }
/// Returns a pointer the current entry belonging to the key,
/// or returns None, if no such entry exists.
Returns a pointer the current entry belonging to the key,
or returns None, if no such entry exists.
Returns a pointer the current entry belonging to the key or returns None if no such entry exists .
pub fn find_ref(self, x: &K) -> Option<&'a V> {
        match self {
            Map(None) => None,
            Map(Some(Node(l, v, d, r, _h))) => match x.cmp(v) {
                Ordering::Equal => Some(d),
                Ordering::Less => l.find_ref(x),
                Ordering::Greater => r.find_ref(x),
            },
        }
    }
pub fn find_ref ( self , x : & K ) -> Option < & ' a V > { match self { Map ( None ) => None , Map ( Some ( Node ( l , v , d , r , _h ) ) ) => match x . cmp ( v ) { Ordering :: Equal => Some ( d ) , Ordering :: Less => l . find_ref ( x ) , Ordering :: Greater => r . find_ref ( x ) , } , } }
Returns a pointer the current entry belonging to the key,
or returns None, if no such entry exists.
Returns a pointer the current entry belonging to the key or returns None if no such entry exists .
self
x
&K