Function rustc::middle::trans::consts::get_const_val[src]
pub fn get_const_val(cx: &CrateContext, def_id: DefId) -> (ValueRef, bool)
pub fn get_const_val(cx: &CrateContext, def_id: DefId) -> (ValueRef, bool)
Prefix searches with a type followed by a colon (e.g.
fn:) to restrict the search to a given type.
Accepted types are: fn, mod,
struct (or str), enum,
trait, typedef (or
tdef).