Struct opencv_binding_generator::Generator
source · pub struct Generator { /* private fields */ }
Implementations§
source§impl Generator
impl Generator
pub fn new( opencv_include_dir: &Path, additional_include_dirs: &[&Path], src_cpp_dir: &Path ) -> 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§
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