pub struct Opts {
pub format: Format,
pub async_: AsyncFilterSet,
pub generate_stubs: bool,
}Fields§
§format: FormatWhether or not gofmt should be used (if present) to format generated
code.
async_: AsyncFilterSet§generate_stubs: boolIf true, generate stub functions for any exported functions and/or resources.
Implementations§
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