pub struct DiscoveredModule {
pub module_name: String,
pub stage: Stage,
pub items: Vec<Item>,
}Expand description
A transpilable module discovered in a source file.
Fields§
§module_name: String§stage: Stage§items: Vec<Item>Trait Implementations§
Source§impl Clone for DiscoveredModule
impl Clone for DiscoveredModule
Source§fn clone(&self) -> DiscoveredModule
fn clone(&self) -> DiscoveredModule
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !Send for DiscoveredModule
impl !Sync for DiscoveredModule
impl Freeze for DiscoveredModule
impl RefUnwindSafe for DiscoveredModule
impl Unpin for DiscoveredModule
impl UnsafeUnpin for DiscoveredModule
impl UnwindSafe for DiscoveredModule
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