pub struct EcosystemReparse<'a> {
pub ecosystem: &'a dyn Ecosystem,
pub uri: &'a Url,
}Expand description
Production ManifestReparse: re-parses via crate::ecosystem::parse_manifest_now.
That is the synchronous, dependency-count-capped sibling of
crate::ecosystem::parse_manifest_blocking (spec 076 FR-024).
§Examples
use deps_core::edit::{EcosystemReparse, ManifestReparse};
use deps_core::Ecosystem;
use url::Url;
let reparse = EcosystemReparse {
ecosystem,
uri: &uri,
};
let _ = reparse.reparse("content");Fields§
§ecosystem: &'a dyn EcosystemThe ecosystem to re-parse through.
uri: &'a UrlThe manifest document’s URI, for position tracking.
Trait Implementations§
Source§impl ManifestReparse for EcosystemReparse<'_>
impl ManifestReparse for EcosystemReparse<'_>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for EcosystemReparse<'a>
impl<'a> !UnwindSafe for EcosystemReparse<'a>
impl<'a> Freeze for EcosystemReparse<'a>
impl<'a> Send for EcosystemReparse<'a>
impl<'a> Sync for EcosystemReparse<'a>
impl<'a> Unpin for EcosystemReparse<'a>
impl<'a> UnsafeUnpin for EcosystemReparse<'a>
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