[−][src]Struct dart_bindgen::CodegenBuilder
The Codegen
Builder
start by calling Codegen::builder()
Implementations
impl CodegenBuilder
[src]
pub fn with_src_header(self, path: impl Into<PathBuf>) -> Self
[src]
The Input C
header file
pub fn with_lib_name(self, name: impl Into<String>) -> Self
[src]
The output lib name, for example libfoo
used for docs
pub fn with_config(self, config: DynamicLibraryConfig) -> Self
[src]
Defines, how the dynamic library should be loaded on each of dart's known platforms.
pub const fn with_allo_isolate(self) -> Self
[src]
Integration with allo-isolate
This allow dart-bindgen to add the code required by allo-isolate
i.e store_dart_post_cobject
fn
pub fn build(self) -> Result<Codegen, CodegenError>
[src]
Consumes the builder and validate everyting, then create the Codegen
Trait Implementations
impl Clone for CodegenBuilder
[src]
fn clone(&self) -> CodegenBuilder
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for CodegenBuilder
[src]
impl Default for CodegenBuilder
[src]
fn default() -> CodegenBuilder
[src]
Auto Trait Implementations
impl RefUnwindSafe for CodegenBuilder
impl Send for CodegenBuilder
impl Sync for CodegenBuilder
impl Unpin for CodegenBuilder
impl UnwindSafe for CodegenBuilder
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,