Enum sphinx::source::ModuleSource
source · [−]Variants
String(String)
File(PathBuf)
Implementations
sourceimpl ModuleSource
impl ModuleSource
pub fn read_text(&self) -> Result<SourceText>
Trait Implementations
sourceimpl Debug for ModuleSource
impl Debug for ModuleSource
sourceimpl DebugSymbolResolver for ModuleSource
impl DebugSymbolResolver for ModuleSource
fn resolve_symbols<'s, S>(&self, symbols: S) -> Result<ResolvedSymbolTable<'s>> where
S: Iterator<Item = &'s DebugSymbol>,
sourceimpl Display for ModuleSource
impl Display for ModuleSource
sourceimpl From<&'_ ModuleSource> for ModuleIdent
impl From<&'_ ModuleSource> for ModuleIdent
sourcefn from(source: &ModuleSource) -> Self
fn from(source: &ModuleSource) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for ModuleSource
impl Send for ModuleSource
impl Sync for ModuleSource
impl Unpin for ModuleSource
impl UnwindSafe for ModuleSource
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more