Struct nodejs_resolver::Resolver
source · [−]pub struct Resolver { /* private fields */ }
Implementations
sourceimpl Resolver
impl Resolver
pub fn get_path_kind(target: &str) -> PathKind
sourceimpl Resolver
impl Resolver
pub fn with_extensions(self, extensions: Vec<&str>) -> Self
pub fn with_alias(self, alias: Vec<(&str, Option<&str>)>) -> Self
pub fn with_alias_fields(self, alias_fields: Vec<&str>) -> Self
pub fn with_modules(self, modules: Vec<&str>) -> Self
pub fn with_symlinks(self, symlinks: bool) -> Self
pub fn with_condition_names(self, condition_names: HashSet<String>) -> Self
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