pub enum NodeResolution {
Module(UrlOrPath),
BuiltIn(String),
}Variants§
Implementations§
Source§impl NodeResolution
impl NodeResolution
pub fn into_url(self) -> Result<Url, NodeResolveError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NodeResolution
impl RefUnwindSafe for NodeResolution
impl Send for NodeResolution
impl Sync for NodeResolution
impl Unpin for NodeResolution
impl UnsafeUnpin for NodeResolution
impl UnwindSafe for NodeResolution
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
Source§impl<T> PathsInErrorsExt for Twhere
T: ?Sized,
impl<T> PathsInErrorsExt for Twhere
T: ?Sized,
Source§fn with_paths_in_errors(&self) -> SysWithPathsInErrors<'_, Self>
fn with_paths_in_errors(&self) -> SysWithPathsInErrors<'_, Self>
Wraps
self in a SysWithPathsInErrors that includes paths in error messages.