Skip to main content

read_ref

Function read_ref 

Source
pub fn read_ref(
    v: &ValueRef<'_>,
    cx: &mut Reader<'_>,
    kinds: &[&str],
) -> Option<Ref>
Expand description

v as a reference to one of kinds (any kind if empty), written @kind:id — a bare id is an error that says how to write it. The id is read untyped (read_id reads it as a kind’s id type).