Struct move_ts::idl_package::IDLPackageGenerator
source · [−]pub struct IDLPackageGenerator<'info> {
pub modules_to_generate: Vec<IDLModule>,
pub ctx: CodegenContext<'info>,
/* private fields */
}
Fields
modules_to_generate: Vec<IDLModule>
ctx: CodegenContext<'info>
Implementations
sourceimpl<'info> IDLPackageGenerator<'info>
impl<'info> IDLPackageGenerator<'info>
pub fn new(idl: &'info IDLPackage, with_dependencies: bool) -> Self
pub fn generate_index(&self) -> Result<CodeText>
pub fn generate_errmap_module(&self) -> Result<CodeText>
pub fn module_generators(&'info self) -> Vec<IDLModuleGenerator<'info>>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
A: Allocator,
Auto Trait Implementations
impl<'info> RefUnwindSafe for IDLPackageGenerator<'info>
impl<'info> Send for IDLPackageGenerator<'info>
impl<'info> Sync for IDLPackageGenerator<'info>
impl<'info> Unpin for IDLPackageGenerator<'info>
impl<'info> UnwindSafe for IDLPackageGenerator<'info>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more