pub struct DiscoveredModule {
pub name: String,
pub path: PathBuf,
pub module_type: ModuleSourceType,
}Expand description
A discovered Python module
Fields§
§name: StringDotted module name (e.g., “mypackage.utils.helpers”)
path: PathBufPath to the Python file
module_type: ModuleSourceTypeDetected module type (Python or PyO3)
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 · 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 Freeze for DiscoveredModule
impl RefUnwindSafe for DiscoveredModule
impl Send for DiscoveredModule
impl Sync 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