pub struct Generator {
pub idl: Idl,
pub struct_opts: BTreeMap<String, StructOpts>,
}Fields§
§idl: Idl§struct_opts: BTreeMap<String, StructOpts>Implementations§
Source§impl Generator
impl Generator
pub fn generate_cpi_interface(&self) -> TokenStream
Auto Trait Implementations§
impl Freeze for Generator
impl RefUnwindSafe for Generator
impl Send for Generator
impl Sync for Generator
impl Unpin for Generator
impl UnwindSafe for Generator
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