pub struct Opts {
pub derive_show: bool,
pub derive_eq: bool,
pub derive_error: bool,
pub ignore_stub: bool,
}Fields§
§derive_show: boolWhether or not to derive Show for all types
derive_eq: boolWhether or not to derive Eq for all types
derive_error: boolWhether or not to declare as Error type for types “.*error”
ignore_stub: boolWhether or not to generate stub files ; useful for update after WIT change
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)