Struct uniffi_bindgen::BindingGeneratorDefault
source · pub struct BindingGeneratorDefault {
pub target_languages: Vec<TargetLanguage>,
pub try_format_code: bool,
}
Fields§
§target_languages: Vec<TargetLanguage>
§try_format_code: bool
Trait Implementations§
source§impl BindingGenerator for BindingGeneratorDefault
impl BindingGenerator for BindingGeneratorDefault
source§fn write_bindings(
&self,
ci: &ComponentInterface,
config: &Self::Config,
out_dir: &Utf8Path,
_try_format_code: bool
) -> Result<()>
fn write_bindings( &self, ci: &ComponentInterface, config: &Self::Config, out_dir: &Utf8Path, _try_format_code: bool ) -> Result<()>
Writes the bindings to the output directory Read more
Auto Trait Implementations§
impl RefUnwindSafe for BindingGeneratorDefault
impl Send for BindingGeneratorDefault
impl Sync for BindingGeneratorDefault
impl Unpin for BindingGeneratorDefault
impl UnwindSafe for BindingGeneratorDefault
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