pub struct StdModule {
pub path: &'static str,
pub file_name: &'static str,
pub source: &'static str,
}Expand description
One module of the standard library.
Fields§
§path: &'static strThe module path, for example std.io.
file_name: &'static strThe name shown in diagnostics, for example <std>/io.wolf.
source: &'static strThe source text.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for StdModule
impl RefUnwindSafe for StdModule
impl Send for StdModule
impl Sync for StdModule
impl Unpin for StdModule
impl UnsafeUnpin for StdModule
impl UnwindSafe for StdModule
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