pub enum ViewItem_ {
ViewItemExternCrate(Ident, Option<(InternedString, StrStyle)>, NodeId),
ViewItemUse(P<ViewPath>),
}
Variants
ViewItemExternCrate | Ident: name used to refer to this crate in the code
optional (InternedString,StrStyle): if present, this is a location
(containing arbitrary characters) from which to fetch the crate sources
For example, extern crate whatever = "github.com/rust-lang/rust"
|
ViewItemUse | |
Trait Implementations
Derived Implementations
fn hash(&self, __arg_0: &mut __S)
Keyboard shortcuts
- ?
- Show this help dialog
- S
- Focus the search field
- ⇤
- Move up in search results
- ⇥
- Move down in search results
- ⏎
- Go to active search result
Search tricks
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
).