Struct opencv::core::NodeData

source ·
pub struct NodeData { /* private fields */ }

Implementations§

source§

impl NodeData

source

pub unsafe fn new( fun_name: &str, file_name: &str, line_num: i32, ret_address: *mut c_void, always_expand: bool, instr_type: TYPE, impl_type: IMPL ) -> Result<NodeData>

C++ default parameters
  • fun_name: 0
  • file_name: NULL
  • line_num: 0
  • ret_address: NULL
  • always_expand: false
  • instr_type: TYPE_GENERAL
  • impl_type: IMPL_PLAIN
source

pub fn copy_mut(ref_: &mut NodeData) -> Result<NodeData>

Trait Implementations§

source§

impl Boxed for NodeData

source§

unsafe fn from_raw(ptr: *mut c_void) -> Self

Wrap the specified raw pointer Read more
source§

fn into_raw(self) -> *mut c_void

Return an the underlying raw pointer while consuming this wrapper. Read more
source§

fn as_raw(&self) -> *const c_void

Return the underlying raw pointer. Read more
source§

fn as_raw_mut(&mut self) -> *mut c_void

Return the underlying mutable raw pointer Read more
source§

impl Drop for NodeData

source§

fn drop(&mut self)

Executes the destructor for this type. Read more
source§

impl NodeDataTrait for NodeData

source§

fn as_raw_mut_NodeData(&mut self) -> *mut c_void

source§

fn set_m_fun_name(&mut self, val: &str)

source§

fn set_m_instr_type(&mut self, val: TYPE)

source§

fn set_m_impl_type(&mut self, val: IMPL)

source§

fn set_m_line_num(&mut self, val: i32)

source§

fn m_ret_address(&mut self) -> *mut c_void

source§

unsafe fn set_m_ret_address(&mut self, val: *mut c_void)

source§

fn set_m_always_expand(&mut self, val: bool)

source§

fn set_m_fun_error(&mut self, val: bool)

source§

fn set_m_counter(&mut self, val: i32)

source§

fn set_m_ticks_total(&mut self, val: u64)

source§

fn set_m_threads(&mut self, val: i32)

source§

impl NodeDataTraitConst for NodeData

source§

impl Send for NodeData

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.