Struct wit_bindgen_rust::WithGeneration
source · pub struct WithGeneration {
pub generate_by_default: bool,
/* private fields */
}
Expand description
Configuration for how interfaces are generated.
Fields§
§generate_by_default: bool
Whether to generate interfaces not present in the with
map
Implementations§
source§impl WithGeneration
impl WithGeneration
pub fn extend(&mut self, with: HashMap<String, WithOption>)
Trait Implementations§
source§impl Clone for WithGeneration
impl Clone for WithGeneration
source§fn clone(&self) -> WithGeneration
fn clone(&self) -> WithGeneration
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for WithGeneration
impl Debug for WithGeneration
source§impl Default for WithGeneration
impl Default for WithGeneration
source§fn default() -> WithGeneration
fn default() -> WithGeneration
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for WithGeneration
impl RefUnwindSafe for WithGeneration
impl Send for WithGeneration
impl Sync for WithGeneration
impl Unpin for WithGeneration
impl UnwindSafe for WithGeneration
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)