Struct mun_hir::PackageSet
source · pub struct PackageSet { /* private fields */ }
Expand description
Represents information about a set of packages in a compilation
Implementations§
source§impl PackageSet
impl PackageSet
sourcepub fn add_package(&mut self, source_root: SourceRootId) -> PackageId
pub fn add_package(&mut self, source_root: SourceRootId) -> PackageId
Adds a new package to the package set
Trait Implementations§
source§impl Clone for PackageSet
impl Clone for PackageSet
source§fn clone(&self) -> PackageSet
fn clone(&self) -> PackageSet
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PackageSet
impl Debug for PackageSet
source§impl Default for PackageSet
impl Default for PackageSet
source§fn default() -> PackageSet
fn default() -> PackageSet
Returns the “default value” for a type. Read more