pub struct LocalResources {
pub cwd: String,
pub agent_dir: String,
pub settings: SettingsManager,
/* private fields */
}Expand description
Resolves the local resources of one working directory and profile.
Fields§
§cwd: String§agent_dir: String§settings: SettingsManagerImplementations§
Source§impl LocalResources
impl LocalResources
Sourcepub fn extensions(&self) -> Vec<ResolvedResource>
pub fn extensions(&self) -> Vec<ResolvedResource>
The top-level extensions by precedence, each with whether its filters enable it (resolve().extensions
without the package ones: Pi packages are not supported either).
Source§impl LocalResources
impl LocalResources
pub fn new(env: &RunEnv, settings: SettingsManager) -> Self
Sourcepub fn resolve(&self) -> ResolvedPaths
pub fn resolve(&self) -> ResolvedPaths
Every local resource, by precedence: the settings’ entries (resolveLocalEntries, project scope first),
then addAutoDiscoveredResources.
Auto Trait Implementations§
impl Forget for LocalResources
impl Freeze for LocalResources
impl Move for LocalResources
impl RefUnwindSafe for LocalResources
impl Send for LocalResources
impl Sync for LocalResources
impl Unpin for LocalResources
impl UnsafeUnpin for LocalResources
impl UnwindSafe for LocalResources
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more