pub struct PreludeImportResolver<T: ImportResolver + 'static>(pub T);Tuple Fields§
§0: TTrait Implementations§
Source§impl<T: ImportResolver + 'static> ImportResolver for PreludeImportResolver<T>
impl<T: ImportResolver + 'static> ImportResolver for PreludeImportResolver<T>
fn normalize_import(&self, import: &str) -> Result<String>
fn resolve_import(&self, import: &str) -> Result<Option<String>>
fn resolve_ffi_transform( &self, transform: &str, ) -> Result<Option<ForeignTransformObj>>
fn resolve_ffi_type(&self, import: &str) -> Result<Option<ForeignTypeObj>>
fn resolve_ffi_function(&self, name: &str) -> Result<Option<ForeignFunctionObj>>
Auto Trait Implementations§
impl<T> Freeze for PreludeImportResolver<T>where
T: Freeze,
impl<T> RefUnwindSafe for PreludeImportResolver<T>where
T: RefUnwindSafe,
impl<T> Send for PreludeImportResolver<T>where
T: Send,
impl<T> Sync for PreludeImportResolver<T>where
T: Sync,
impl<T> Unpin for PreludeImportResolver<T>where
T: Unpin,
impl<T> UnwindSafe for PreludeImportResolver<T>where
T: UnwindSafe,
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