Type Alias DependencyBuilder

Source
pub type DependencyBuilder = Dependency<CrateBuilderId>;

Aliased Type§

struct DependencyBuilder {
    pub crate_id: Idx<CrateBuilder>,
    pub name: CrateName,
    /* private fields */
}

Fields§

§crate_id: Idx<CrateBuilder>§name: CrateName

Implementations§

Source§

impl DependencyBuilder

Source

pub fn new(name: CrateName, crate_id: CrateBuilderId) -> Self

Source

pub fn with_prelude( name: CrateName, crate_id: CrateBuilderId, prelude: bool, sysroot: bool, ) -> Self