Struct rls_data::ExternalCrateData [] [src]

pub struct ExternalCrateData {
    pub file_name: String,
    pub num: u32,
    pub id: GlobalCrateId,
}

Data for external crates in the prelude of a crate.

Fields

Source file where the external crate is declared.

A crate-local crate index of an external crate. Local crate index is always 0, so these should start from 1 and range should be contiguous, e.g. from 1 to n for n external crates.

Trait Implementations

impl Debug for ExternalCrateData
[src]

[src]

Formats the value using the given formatter.

impl Clone for ExternalCrateData
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Decodable for ExternalCrateData
[src]

[src]

Deserialize a value using a Decoder.

impl Encodable for ExternalCrateData
[src]

[src]

Serialize a value using an Encoder.