#[repr(C)]pub struct test_struct {
pub test_function: Option<unsafe extern "C" fn() -> c_int>,
pub name: *mut c_char,
}Fields§
§test_function: Option<unsafe extern "C" fn() -> c_int>§name: *mut c_charAuto Trait Implementations§
impl Freeze for test_struct
impl RefUnwindSafe for test_struct
impl !Send for test_struct
impl !Sync for test_struct
impl Unpin for test_struct
impl UnwindSafe for test_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