pub struct Outputs<W: Write> {
pub common: W,
pub types: W,
pub functions: W,
pub enums: W,
}Expand description
Writers for each generated Rust module.
Fields§
§common: WReceives the layer constant, name_for_id, etc.
types: WReceives pub mod types { … } (concrete constructors as structs).
functions: WReceives pub mod functions { … } (RPC functions as structs).
enums: WReceives pub mod enums { … } (boxed types as enums).
Implementations§
Auto Trait Implementations§
impl<W> Freeze for Outputs<W>where
W: Freeze,
impl<W> RefUnwindSafe for Outputs<W>where
W: RefUnwindSafe,
impl<W> Send for Outputs<W>where
W: Send,
impl<W> Sync for Outputs<W>where
W: Sync,
impl<W> Unpin for Outputs<W>where
W: Unpin,
impl<W> UnsafeUnpin for Outputs<W>where
W: UnsafeUnpin,
impl<W> UnwindSafe for Outputs<W>where
W: 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