Struct cargo::core::compiler::FileType [−][src]
pub struct FileType { pub flavor: FileFlavor, pub crate_type: Option<CrateType>, // some fields omitted }
Expand description
Type of each file generated by a Unit.
Fields
flavor: FileFlavor
The kind of file.
crate_type: Option<CrateType>
The crate-type that generates this file.
None
for things that aren’t associated with a specific crate type,
for example rmeta
files.
Implementations
The filename for this FileType crated by rustc.
The filename for this FileType that Cargo should use when “uplifting” it to the destination directory.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for FileType
impl UnwindSafe for FileType