Struct idalib_sys::segment::lock_segment
#[repr(C, align(8))]pub struct lock_segment { /* private fields */ }
Expand description
Helper class to lock a segment pointer so it stays valid
Implementations§
§impl lock_segment
impl lock_segment
Trait Implementations§
§impl CopyNew for lock_segment
impl CopyNew for lock_segment
§unsafe fn copy_new(
other: &lock_segment,
this: Pin<&mut MaybeUninit<lock_segment>>,
)
unsafe fn copy_new( other: &lock_segment, this: Pin<&mut MaybeUninit<lock_segment>>, )
Synthesized copy constructor.
§impl Drop for lock_segment
impl Drop for lock_segment
§fn drop(self: &mut lock_segment)
fn drop(self: &mut lock_segment)
Executes the destructor for this type. Read more
§impl ExternType for lock_segment
impl ExternType for lock_segment
§impl MakeCppStorage for lock_segment
impl MakeCppStorage for lock_segment
§unsafe fn allocate_uninitialized_cpp_storage() -> *mut lock_segment
unsafe fn allocate_uninitialized_cpp_storage() -> *mut lock_segment
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 lock_segment)
unsafe fn free_uninitialized_cpp_storage(arg0: *mut lock_segment)
Frees a C++ allocation which has not yet
had a constructor called. Read more
impl UniquePtrTarget for lock_segment
impl WeakPtrTarget for lock_segment
Auto Trait Implementations§
impl !Freeze for lock_segment
impl !RefUnwindSafe for lock_segment
impl !Send for lock_segment
impl !Sync for lock_segment
impl !Unpin for lock_segment
impl UnwindSafe for lock_segment
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