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 Freeze for BridgeOutput
impl RefUnwindSafe for BridgeOutput
impl Send for BridgeOutput
impl Sync for BridgeOutput
impl Unpin for BridgeOutput
impl UnsafeUnpin for BridgeOutput
impl UnwindSafe for BridgeOutput
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