Struct opencv_binding_generator::Generator
source · pub struct Generator { /* private fields */ }
Implementations
sourceimpl Generator
impl Generator
pub fn new(
opencv_include_dir: &Path,
additional_include_dirs: &[PathBuf],
src_cpp_dir: &Path,
clang: Clang
) -> Self
pub fn build_clang_command_line_args(&self) -> Vec<Cow<'static, str>> ⓘ
pub fn process_module(
&self,
module: &str,
panic_on_error: bool,
entity_processor: impl FnOnce(TranslationUnit<'_>, &str)
)
pub fn process_opencv_module(&self, module: &str, visitor: impl GeneratorVisitor)
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Generator
impl !Send for Generator
impl !Sync for Generator
impl Unpin for Generator
impl UnwindSafe for Generator
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more