Struct nodejs_resolver::Resolver
source · [−]pub struct Resolver {
pub options: ResolverOptions,
pub cache: Option<ResolverCache>,
}
Fields
options: ResolverOptions
cache: Option<ResolverCache>
Implementations
sourceimpl Resolver
impl Resolver
pub fn normalize_alias(&self, target: String) -> Option<String>
pub fn normalize_path(
&self,
result: ResolveResult,
query: &str,
fragment: &str
) -> Result<ResolveResult, String>
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Resolver
impl Send for Resolver
impl Sync for Resolver
impl Unpin for Resolver
impl UnwindSafe for Resolver
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more