pub struct PythonEmitter;Expand description
Version-one Python package emitter.
Implementations§
Source§impl PythonEmitter
impl PythonEmitter
Sourcepub fn generator_handlers(&self) -> Vec<ProjectionHandler>
pub fn generator_handlers(&self) -> Vec<ProjectionHandler>
Return its exact projection-handler evidence.
Sourcepub fn code_resources(&self) -> Result<Vec<CodeResourceDigest>, Diagnostic>
pub fn code_resources(&self) -> Result<Vec<CodeResourceDigest>, Diagnostic>
Hash its exact fixed output resources.
Sourcepub fn emit(
&self,
projection: &RuntimeProjection,
) -> Result<GeneratedPackage, Diagnostic>
pub fn emit( &self, projection: &RuntimeProjection, ) -> Result<GeneratedPackage, Diagnostic>
Emit exactly eight deterministic files without filesystem mutation.
Trait Implementations§
Source§impl Clone for PythonEmitter
impl Clone for PythonEmitter
Source§fn clone(&self) -> PythonEmitter
fn clone(&self) -> PythonEmitter
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 moreimpl Copy for PythonEmitter
Source§impl Debug for PythonEmitter
impl Debug for PythonEmitter
Source§impl Default for PythonEmitter
impl Default for PythonEmitter
Source§fn default() -> PythonEmitter
fn default() -> PythonEmitter
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PythonEmitter
impl RefUnwindSafe for PythonEmitter
impl Send for PythonEmitter
impl Sync for PythonEmitter
impl Unpin for PythonEmitter
impl UnsafeUnpin for PythonEmitter
impl UnwindSafe for PythonEmitter
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