pub struct CodegenBuilder { /* private fields */ }
Expand description
The Codegen
Builder
start by calling Codegen::builder()
Implementations§
Source§impl CodegenBuilder
impl CodegenBuilder
Sourcepub fn with_src_header(self, path: impl Into<PathBuf>) -> Self
pub fn with_src_header(self, path: impl Into<PathBuf>) -> Self
The Input C
header file
Sourcepub fn with_lib_name(self, name: impl Into<String>) -> Self
pub fn with_lib_name(self, name: impl Into<String>) -> Self
The output lib name, for example libfoo
used for docs
Sourcepub fn with_config(self, config: DynamicLibraryConfig) -> Self
pub fn with_config(self, config: DynamicLibraryConfig) -> Self
Defines, how the dynamic library should be loaded on each of dart’s known platforms.
Sourcepub const fn with_allo_isolate(self) -> Self
pub const fn with_allo_isolate(self) -> Self
Integration with allo-isolate
This allow dart-bindgen to add the code required by allo-isolate
i.e store_dart_post_cobject
fn
Trait Implementations§
Source§impl Clone for CodegenBuilder
impl Clone for CodegenBuilder
Source§fn clone(&self) -> CodegenBuilder
fn clone(&self) -> CodegenBuilder
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 CodegenBuilder
impl Debug for CodegenBuilder
Source§impl Default for CodegenBuilder
impl Default for CodegenBuilder
Source§fn default() -> CodegenBuilder
fn default() -> CodegenBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CodegenBuilder
impl RefUnwindSafe for CodegenBuilder
impl Send for CodegenBuilder
impl Sync for CodegenBuilder
impl Unpin for CodegenBuilder
impl UnwindSafe for CodegenBuilder
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