pub struct NullBackend;Expand description
A backend that produces a placeholder binary.
Real emission is handled by crate::native_emit::* backends.
Trait Implementations§
Source§impl CodegenBackend for NullBackend
impl CodegenBackend for NullBackend
fn kind(&self) -> BackendKind
fn emit( &self, module: &IrModule, _spec: &ComponentSpec, ) -> Result<BackendOutput, BackendError>
Auto Trait Implementations§
impl Freeze for NullBackend
impl RefUnwindSafe for NullBackend
impl Send for NullBackend
impl Sync for NullBackend
impl Unpin for NullBackend
impl UnsafeUnpin for NullBackend
impl UnwindSafe for NullBackend
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