Struct citem_t
pub struct citem_t { /* private fields */ }Expand description
Basic ctree item. This is an abstract class (but we don’t use virtual functions in ctree, so the compiler will not disallow you to create citem_t instances). However, items of pure citem_t type must never be created. Two classes, cexpr_t and cinsn_t are derived from it.
Implementations§
§impl citem_t
impl citem_t
pub unsafe fn contains_expr(&self, e: *const cexpr_t) -> bool
pub unsafe fn contains_expr(&self, e: *const cexpr_t) -> bool
Does the item contain an expression?
pub unsafe fn contains_label(&self) -> bool
pub unsafe fn contains_label(&self) -> bool
Does the item contain a label?
pub unsafe fn find_parent_of(&self, item: *const citem_t) -> *const citem_t
pub unsafe fn find_parent_of(&self, item: *const citem_t) -> *const citem_t
Find parent of the specified item. \param item Item to find the parent of. The search will be performed among the children of the item pointed by \c this. \return nullptr if not found
pub unsafe fn find_parent_of1( self: Pin<&mut Self>, item: *const citem_t, ) -> *mut citem_t
pub unsafe fn find_closest_addr( self: Pin<&mut Self>, _ea: c_ulonglong, ) -> *mut citem_t
Trait Implementations§
§impl ExternType for citem_t
impl ExternType for citem_t
§impl MakeCppStorage for citem_t
impl MakeCppStorage for citem_t
§unsafe fn allocate_uninitialized_cpp_storage() -> *mut citem_t
unsafe fn allocate_uninitialized_cpp_storage() -> *mut citem_t
Allocates heap space for this type in C++ and return a pointer
to that space, but do not initialize that space (i.e. do not
yet call a constructor). Read more
§unsafe fn free_uninitialized_cpp_storage(arg0: *mut citem_t)
unsafe fn free_uninitialized_cpp_storage(arg0: *mut citem_t)
Frees a C++ allocation which has not yet
had a constructor called. Read more
impl UniquePtrTarget for citem_t
impl WeakPtrTarget for citem_t
Auto Trait Implementations§
impl !Freeze for citem_t
impl !RefUnwindSafe for citem_t
impl Send for citem_t
impl !Sync for citem_t
impl Unpin for citem_t
impl UnsafeUnpin for citem_t
impl UnwindSafe for citem_t
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