pub struct NodeResolverOptions {
pub conditions: NodeConditionOptions,
pub is_browser_platform: bool,
pub bundle_mode: bool,
pub typescript_version: Option<Version>,
}Fields§
§conditions: NodeConditionOptions§is_browser_platform: bool§bundle_mode: bool§typescript_version: Option<Version>TypeScript version to use for typesVersions resolution and
types@req exports resolution.
Trait Implementations§
Source§impl Clone for NodeResolverOptions
impl Clone for NodeResolverOptions
Source§fn clone(&self) -> NodeResolverOptions
fn clone(&self) -> NodeResolverOptions
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for NodeResolverOptions
impl Debug for NodeResolverOptions
Source§impl Default for NodeResolverOptions
impl Default for NodeResolverOptions
Source§fn default() -> NodeResolverOptions
fn default() -> NodeResolverOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for NodeResolverOptions
impl RefUnwindSafe for NodeResolverOptions
impl Send for NodeResolverOptions
impl Sync for NodeResolverOptions
impl Unpin for NodeResolverOptions
impl UnwindSafe for NodeResolverOptions
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)