Struct syntax::ast::DefIdUnstable
[-] [+]
[src]
pub struct DefId { pub krate: CrateNum, pub node: NodeId, }
Fields
krate | |
node |
pub struct DefId { pub krate: CrateNum, pub node: NodeId, }
krate | |
node |
impl DefId
impl Copy for DefId
impl Debug for DefId
impl Hash for DefId
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher
impl Decodable for DefId
impl Encodable for DefId
impl PartialEq for DefId
impl PartialOrd for DefId
fn partial_cmp(&self, __arg_0: &DefId) -> Option<Ordering>
fn lt(&self, __arg_0: &DefId) -> bool
fn le(&self, __arg_0: &DefId) -> bool
fn gt(&self, __arg_0: &DefId) -> bool
fn ge(&self, __arg_0: &DefId) -> bool
impl Ord for DefId
impl Eq for DefId
fn assert_receiver_is_total_eq(&self)
impl Clone for DefId
fn clone(&self) -> DefId
fn clone_from(&mut self, source: &Self)
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
, enum
,
trait
, typedef
(or
tdef
).