Enum deno_node::NodeResolution
source · pub enum NodeResolution {
Esm(ModuleSpecifier),
CommonJs(ModuleSpecifier),
BuiltIn(String),
}
Variants§
Implementations§
source§impl NodeResolution
impl NodeResolution
pub fn into_url(self) -> ModuleSpecifier
pub fn into_specifier_and_media_type( resolution: Option<Self> ) -> (ModuleSpecifier, MediaType)
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for NodeResolution
impl Send for NodeResolution
impl Sync for NodeResolution
impl Unpin for NodeResolution
impl UnwindSafe for NodeResolution
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere T: 'a,
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