#[repr(C)]pub struct SyMutexMethods {
pub xGlobalInit: Option<unsafe extern "C" fn() -> c_int>,
pub xGlobalRelease: Option<unsafe extern "C" fn()>,
pub xNew: Option<unsafe extern "C" fn(arg1: c_int) -> *mut SyMutex>,
pub xRelease: Option<unsafe extern "C" fn(arg1: *mut SyMutex)>,
pub xEnter: Option<unsafe extern "C" fn(arg1: *mut SyMutex)>,
pub xTryEnter: Option<unsafe extern "C" fn(arg1: *mut SyMutex) -> c_int>,
pub xLeave: Option<unsafe extern "C" fn(arg1: *mut SyMutex)>,
}
Fields§
§xGlobalInit: Option<unsafe extern "C" fn() -> c_int>
§xGlobalRelease: Option<unsafe extern "C" fn()>
§xNew: Option<unsafe extern "C" fn(arg1: c_int) -> *mut SyMutex>
§xRelease: Option<unsafe extern "C" fn(arg1: *mut SyMutex)>
§xEnter: Option<unsafe extern "C" fn(arg1: *mut SyMutex)>
§xTryEnter: Option<unsafe extern "C" fn(arg1: *mut SyMutex) -> c_int>
§xLeave: Option<unsafe extern "C" fn(arg1: *mut SyMutex)>
Trait Implementations§
Source§impl Clone for SyMutexMethods
impl Clone for SyMutexMethods
Source§fn clone(&self) -> SyMutexMethods
fn clone(&self) -> SyMutexMethods
Returns a copy 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 moreSource§impl Debug for SyMutexMethods
impl Debug for SyMutexMethods
impl Copy for SyMutexMethods
Auto Trait Implementations§
impl Freeze for SyMutexMethods
impl RefUnwindSafe for SyMutexMethods
impl Send for SyMutexMethods
impl Sync for SyMutexMethods
impl Unpin for SyMutexMethods
impl UnwindSafe for SyMutexMethods
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