pub struct OpaquePthread { /* private fields */ }
Implementations§
Source§impl OpaquePthread
impl OpaquePthread
Sourcepub fn new_zeroed_on_heap() -> Self
pub fn new_zeroed_on_heap() -> Self
creates zeroed struct where the underlying c struct is on the heap
Sourcepub fn new_zeroed_on_stack() -> Self
pub fn new_zeroed_on_stack() -> Self
creates zeroed struct where the underlying c struct is on the stack (Use with care)
pub fn get_inner(&self) -> *mut _opaque_pthread_t
pub fn get_inner_mut(&self) -> &mut _opaque_pthread_t
pub fn get_inner_ref(&self) -> &_opaque_pthread_t
Trait Implementations§
Source§impl Clone for OpaquePthread
impl Clone for OpaquePthread
Source§fn clone(&self) -> OpaquePthread
fn clone(&self) -> OpaquePthread
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 OpaquePthread
impl Debug for OpaquePthread
Source§impl Deref for OpaquePthread
impl Deref for OpaquePthread
Source§impl From<&OpaquePthread> for *mut _opaque_pthread_t
impl From<&OpaquePthread> for *mut _opaque_pthread_t
Source§fn from(value: &OpaquePthread) -> Self
fn from(value: &OpaquePthread) -> Self
Converts to this type from the input type.
Source§impl From<*const _opaque_pthread_t> for OpaquePthread
impl From<*const _opaque_pthread_t> for OpaquePthread
Source§fn from(value: *const _opaque_pthread_t) -> Self
fn from(value: *const _opaque_pthread_t) -> Self
Converts to this type from the input type.
Source§impl From<*mut _opaque_pthread_t> for OpaquePthread
impl From<*mut _opaque_pthread_t> for OpaquePthread
Source§fn from(value: *mut _opaque_pthread_t) -> Self
fn from(value: *mut _opaque_pthread_t) -> Self
Converts to this type from the input type.
Source§impl From<OpaquePthread> for *mut _opaque_pthread_t
impl From<OpaquePthread> for *mut _opaque_pthread_t
Source§fn from(value: OpaquePthread) -> Self
fn from(value: OpaquePthread) -> Self
Converts to this type from the input type.
Source§impl From<OpaquePthread> for _opaque_pthread_t
impl From<OpaquePthread> for _opaque_pthread_t
Source§fn from(value: OpaquePthread) -> Self
fn from(value: OpaquePthread) -> Self
Converts to this type from the input type.
Source§impl From<_opaque_pthread_t> for OpaquePthread
impl From<_opaque_pthread_t> for OpaquePthread
Source§fn from(value: _opaque_pthread_t) -> Self
fn from(value: _opaque_pthread_t) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for OpaquePthread
impl !RefUnwindSafe for OpaquePthread
impl !Send for OpaquePthread
impl !Sync for OpaquePthread
impl Unpin for OpaquePthread
impl !UnwindSafe for OpaquePthread
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