pub enum TranspilationPhase {
Start,
PythonParsed,
PythonHIR,
CParsed,
CHIR,
UnifiedHIR,
Optimized,
RustGenerated,
Complete,
}Expand description
Current phase of transpilation
Variants§
Start
Initial state
PythonParsed
Python source parsed to AST
PythonHIR
Python AST converted to HIR
CParsed
C source parsed to AST
CHIR
C AST converted to HIR
UnifiedHIR
Python + C unified
Optimized
HIR optimized
RustGenerated
Rust code generated
Complete
Complete
Implementations§
Trait Implementations§
Source§impl Clone for TranspilationPhase
impl Clone for TranspilationPhase
Source§fn clone(&self) -> TranspilationPhase
fn clone(&self) -> TranspilationPhase
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 moreSource§impl Debug for TranspilationPhase
impl Debug for TranspilationPhase
Source§impl<'de> Deserialize<'de> for TranspilationPhase
impl<'de> Deserialize<'de> for TranspilationPhase
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for TranspilationPhase
impl PartialEq for TranspilationPhase
Source§impl Serialize for TranspilationPhase
impl Serialize for TranspilationPhase
impl Copy for TranspilationPhase
impl Eq for TranspilationPhase
impl StructuralPartialEq for TranspilationPhase
Auto Trait Implementations§
impl Freeze for TranspilationPhase
impl RefUnwindSafe for TranspilationPhase
impl Send for TranspilationPhase
impl Sync for TranspilationPhase
impl Unpin for TranspilationPhase
impl UnsafeUnpin for TranspilationPhase
impl UnwindSafe for TranspilationPhase
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