pub struct AutoBindingOptions {
pub output_dir: Option<PathBuf>,
pub recursive: bool,
pub exclude_patterns: Vec<String>,
pub generate_mod_rs: bool,
pub default_binding_options: BindingOptions,
}Expand description
Options for automatic binding generation.
Fields§
§output_dir: Option<PathBuf>Output directory for generated bindings (defaults to OUT_DIR/bindings)
recursive: boolInclude subdirectories when scanning
exclude_patterns: Vec<String>File patterns to exclude (e.g., [“internal.h”, “test.h”])
generate_mod_rs: boolWhether to generate a unified mod.rs that re-exports everything
default_binding_options: BindingOptionsDefault binding options for all libraries
Trait Implementations§
Source§impl Clone for AutoBindingOptions
impl Clone for AutoBindingOptions
Source§fn clone(&self) -> AutoBindingOptions
fn clone(&self) -> AutoBindingOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AutoBindingOptions
impl Debug for AutoBindingOptions
Auto Trait Implementations§
impl Freeze for AutoBindingOptions
impl RefUnwindSafe for AutoBindingOptions
impl Send for AutoBindingOptions
impl Sync for AutoBindingOptions
impl Unpin for AutoBindingOptions
impl UnsafeUnpin for AutoBindingOptions
impl UnwindSafe for AutoBindingOptions
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§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more