pub fn span<I>(&self, id: I) -> Option<Span>
    where
        I: Into<NodeId>,
    {
        self.sb.span_table.borrow().get(&id.into()).map(|v| *v)
    }
/// Obtain the span associated with a node ID.
Obtain the span associated with a node ID.
Obtain the span associated with a node ID .
pub fn span<I>(&self, id: I) -> Option<Span>
    where
        I: Into<NodeId>,
    {
        self.sb.span_table.borrow().get(&id.into()).map(|v| *v)
    }
pub fn span < I > ( & self , id : I ) -> Option < Span > where I : Into < NodeId > , { self . sb . span_table . borrow ( ) . get ( & id . into ( ) ) . map ( | v | * v ) }
Obtain the span associated with a node ID.
Obtain the span associated with a node ID .
&self
id
I
&self
id
I