pub struct PythonModule;Expand description
Módulo de gestión Python.
Implementations§
Source§impl PythonModule
impl PythonModule
Sourcepub async fn setup(config: &ForgeConfig, project_dir: &Path) -> ForgeResult<()>
pub async fn setup(config: &ForgeConfig, project_dir: &Path) -> ForgeResult<()>
Prepara el entorno Python (crea venv si no existe, instala deps).
Sourcepub async fn compile(
config: &ForgeConfig,
project_dir: &Path,
) -> ForgeResult<()>
pub async fn compile( config: &ForgeConfig, project_dir: &Path, ) -> ForgeResult<()>
“Compila” un proyecto Python (verifica sintaxis).
Sourcepub async fn run(config: &ForgeConfig, project_dir: &Path) -> ForgeResult<()>
pub async fn run(config: &ForgeConfig, project_dir: &Path) -> ForgeResult<()>
Ejecuta el proyecto Python.
Sourcepub async fn test(config: &ForgeConfig, project_dir: &Path) -> ForgeResult<()>
pub async fn test(config: &ForgeConfig, project_dir: &Path) -> ForgeResult<()>
Ejecuta tests Python.
Auto Trait Implementations§
impl Freeze for PythonModule
impl RefUnwindSafe for PythonModule
impl Send for PythonModule
impl Sync for PythonModule
impl Unpin for PythonModule
impl UnsafeUnpin for PythonModule
impl UnwindSafe for PythonModule
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