pub fn id(&self) -> ContextId {
        match *self {
            ContextReference::Direct(ref context_id) => *context_id,
            _ => panic!("Can only get ContextId of linked references: {:?}", self),
        }
    }
/// get the context ID this reference points to, panics if ref is not linked
get the context ID this reference points to, panics if ref is not linked
get the context ID this reference points to panics if ref is not linked
pub fn id(&self) -> ContextId {
        match *self {
            ContextReference::Direct(ref context_id) => *context_id,
            _ => panic!("Can only get ContextId of linked references: {:?}", self),
        }
    }
pub fn id ( & self ) -> ContextId { match * self { ContextReference :: Direct ( ref context_id ) => * context_id , _ => panic ! ( " " self ) , } }
get the context ID this reference points to, panics if ref is not linked
get the context ID this reference points to panics if ref is not linked
&self
&self