pub struct BridgeOutput {
pub imports: Vec<String>,
pub code: String,
}Expand description
Result of trait bridge generation: imports (to be added via builder.add_import)
and the code body (to be added via builder.add_item).
Fields§
§imports: Vec<String>Import paths (e.g., "std::sync::Arc") — callers should add via builder.add_import().
code: StringThe generated code (struct, impls, registration fn).
Auto Trait Implementations§
impl Forget for BridgeOutput
impl Freeze for BridgeOutput
impl Move for BridgeOutput
impl RefUnwindSafe for BridgeOutput
impl Send for BridgeOutputwhere
RawVecInner: Send,
impl Sync for BridgeOutputwhere
RawVecInner: Sync,
impl Unpin for BridgeOutput
impl UnsafeUnpin for BridgeOutputwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
impl UnwindSafe for BridgeOutputwhere
RawVecInner: UnwindSafe,
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