pub struct NodeResolverOptions {
pub conditions_from_resolution_mode: ConditionsFromResolutionMode,
pub typescript_version: Option<Version>,
}Fields§
§conditions_from_resolution_mode: ConditionsFromResolutionMode§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 copy of the value. Read more
1.0.0 · Source§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§
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