Struct opencv_binding_generator::ExportConfig
source · pub struct ExportConfig {
pub class_kind_override: ClassKindOverride,
pub deprecated: bool,
pub no_return: bool,
pub no_except: bool,
pub no_discard: bool,
pub only_generated_types: bool,
}
Fields§
§class_kind_override: ClassKindOverride
§deprecated: bool
§no_return: bool
§no_except: bool
§no_discard: bool
§only_generated_types: bool
Implementations§
source§impl ExportConfig
impl ExportConfig
sourcepub fn export(src: ExportConfig) -> Option<ExportConfig>
pub fn export(src: ExportConfig) -> Option<ExportConfig>
Doesn’t change export config, but putting it into ELEMENT_EXPORT_TWEAK
will force the creation of the default ExportConfig
pub fn no_export(_src: ExportConfig) -> Option<ExportConfig>
pub fn override_boxed(src: ExportConfig) -> Option<ExportConfig>
pub fn force_boxed(src: ExportConfig) -> Option<ExportConfig>
pub fn simple(src: ExportConfig) -> Option<ExportConfig>
pub fn system(src: ExportConfig) -> Option<ExportConfig>
Trait Implementations§
source§impl Clone for ExportConfig
impl Clone for ExportConfig
source§fn clone(&self) -> ExportConfig
fn clone(&self) -> ExportConfig
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 ExportConfig
impl Debug for ExportConfig
Auto Trait Implementations§
impl Freeze for ExportConfig
impl RefUnwindSafe for ExportConfig
impl Send for ExportConfig
impl Sync for ExportConfig
impl Unpin for ExportConfig
impl UnwindSafe for ExportConfig
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