#[repr(C)]pub struct rb_ractor_struct_gc_mark_func_data_struct {
pub data: *mut c_void,
pub mark_func: Option<unsafe extern "C" fn(v: VALUE, data: *mut c_void)>,
}Fields§
§data: *mut c_void§mark_func: Option<unsafe extern "C" fn(v: VALUE, data: *mut c_void)>Trait Implementations§
Source§impl Clone for rb_ractor_struct_gc_mark_func_data_struct
impl Clone for rb_ractor_struct_gc_mark_func_data_struct
Source§fn clone(&self) -> rb_ractor_struct_gc_mark_func_data_struct
fn clone(&self) -> rb_ractor_struct_gc_mark_func_data_struct
Returns a duplicate 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 moreimpl Copy for rb_ractor_struct_gc_mark_func_data_struct
Auto Trait Implementations§
impl Freeze for rb_ractor_struct_gc_mark_func_data_struct
impl RefUnwindSafe for rb_ractor_struct_gc_mark_func_data_struct
impl !Send for rb_ractor_struct_gc_mark_func_data_struct
impl !Sync for rb_ractor_struct_gc_mark_func_data_struct
impl Unpin for rb_ractor_struct_gc_mark_func_data_struct
impl UnwindSafe for rb_ractor_struct_gc_mark_func_data_struct
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