Struct opencv_binding_generator::FuncId
source · pub struct FuncId<'f> { /* private fields */ }
Implementations§
source§impl<'f> FuncId<'f>
impl<'f> FuncId<'f>
sourcepub fn new_mut<const ARGS: usize>(
name: &'static str,
args: [&'static str; ARGS]
) -> FuncId<'static>
pub fn new_mut<const ARGS: usize>( name: &'static str, args: [&'static str; ARGS] ) -> FuncId<'static>
§Parameters
name: fully qualified C++ function name (e.g. cv::Mat::create) args: C++ argument names (“unnamed” for unnamed ones)
sourcepub fn new_const<const ARGS: usize>(
name: &'static str,
args: [&'static str; ARGS]
) -> FuncId<'static>
pub fn new_const<const ARGS: usize>( name: &'static str, args: [&'static str; ARGS] ) -> FuncId<'static>
§Parameters
name: fully qualified C++ function name (e.g. cv::Mat::create) args: C++ argument names (“unnamed” for unnamed ones)
pub fn from_entity(entity: Entity<'_>) -> FuncId<'static>
pub fn from_desc(desc: &'f FuncDesc<'_, '_>) -> FuncId<'f>
pub fn make_static(self) -> FuncId<'static>
pub fn name(&self) -> &str
pub fn args(&self) -> &[Cow<'_, str>]
Trait Implementations§
source§impl<'f> PartialEq for FuncId<'f>
impl<'f> PartialEq for FuncId<'f>
impl<'f> Eq for FuncId<'f>
impl<'f> StructuralPartialEq for FuncId<'f>
Auto Trait Implementations§
impl<'f> Freeze for FuncId<'f>
impl<'f> RefUnwindSafe for FuncId<'f>
impl<'f> Send for FuncId<'f>
impl<'f> Sync for FuncId<'f>
impl<'f> Unpin for FuncId<'f>
impl<'f> UnwindSafe for FuncId<'f>
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