Enum syntax::ast_map::PathElemUnstable
[-] [+]
[src]
pub enum PathElem { PathMod(Name), PathName(Name), }
Variants
PathMod | |
PathName |
pub enum PathElem { PathMod(Name), PathName(Name), }
PathMod | |
PathName |
impl PathElem
impl Display for PathElem
impl Debug for PathElem
impl PartialEq for PathElem
impl Copy for PathElem
impl Clone for PathElem
fn clone(&self) -> PathElem
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
).