pub struct Opts {
pub derive: DeriveOpts,
pub ignore_stub: bool,
pub ignore_module_file: bool,
pub gen_dir: String,
pub project_name: Option<String>,
pub async_: AsyncFilterSet,
}Fields§
§derive: DeriveOpts§ignore_stub: boolWhether or not to generate stub files ; useful for update after WIT change
ignore_module_file: boolWhether or not to generate moon.mod.json ; useful if the project is part of a larger project
gen_dir: StringThe package/dir to generate the program entrance
project_name: Option<String>The project name ; or the package path prefix if the project is part of a larger project
async_: AsyncFilterSetImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Opts
impl RefUnwindSafe for Opts
impl Send for Opts
impl Sync for Opts
impl Unpin for Opts
impl UnwindSafe for Opts
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