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
file_name: String
Source file where the external crate is declared.
num: u32
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.
id: GlobalCrateId
Trait Implementations
impl Debug for ExternalCrateData
[src]
impl Clone for ExternalCrateData
[src]
fn clone(&self) -> ExternalCrateData
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Decodable for ExternalCrateData
[src]
fn decode<__D: Decoder>(
__arg_0: &mut __D
) -> Result<ExternalCrateData, __D::Error>
[src]
__arg_0: &mut __D
) -> Result<ExternalCrateData, __D::Error>
Deserialize a value using a Decoder
.