pub struct OpaquePthreadAttr { /* private fields */ }
Implementations§
Source§impl OpaquePthreadAttr
impl OpaquePthreadAttr
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_attr_t
pub fn get_inner_mut(&self) -> &mut _opaque_pthread_attr_t
pub fn get_inner_ref(&self) -> &_opaque_pthread_attr_t
Trait Implementations§
Source§impl Clone for OpaquePthreadAttr
impl Clone for OpaquePthreadAttr
Source§fn clone(&self) -> OpaquePthreadAttr
fn clone(&self) -> OpaquePthreadAttr
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 OpaquePthreadAttr
impl Debug for OpaquePthreadAttr
Source§impl Deref for OpaquePthreadAttr
impl Deref for OpaquePthreadAttr
Source§impl From<&OpaquePthreadAttr> for *mut _opaque_pthread_attr_t
impl From<&OpaquePthreadAttr> for *mut _opaque_pthread_attr_t
Source§fn from(value: &OpaquePthreadAttr) -> Self
fn from(value: &OpaquePthreadAttr) -> Self
Converts to this type from the input type.
Source§impl From<*const _opaque_pthread_attr_t> for OpaquePthreadAttr
impl From<*const _opaque_pthread_attr_t> for OpaquePthreadAttr
Source§fn from(value: *const _opaque_pthread_attr_t) -> Self
fn from(value: *const _opaque_pthread_attr_t) -> Self
Converts to this type from the input type.
Source§impl From<*mut _opaque_pthread_attr_t> for OpaquePthreadAttr
impl From<*mut _opaque_pthread_attr_t> for OpaquePthreadAttr
Source§fn from(value: *mut _opaque_pthread_attr_t) -> Self
fn from(value: *mut _opaque_pthread_attr_t) -> Self
Converts to this type from the input type.
Source§impl From<OpaquePthreadAttr> for *mut _opaque_pthread_attr_t
impl From<OpaquePthreadAttr> for *mut _opaque_pthread_attr_t
Source§fn from(value: OpaquePthreadAttr) -> Self
fn from(value: OpaquePthreadAttr) -> Self
Converts to this type from the input type.
Source§impl From<OpaquePthreadAttr> for _opaque_pthread_attr_t
impl From<OpaquePthreadAttr> for _opaque_pthread_attr_t
Source§fn from(value: OpaquePthreadAttr) -> Self
fn from(value: OpaquePthreadAttr) -> Self
Converts to this type from the input type.
Source§impl From<_opaque_pthread_attr_t> for OpaquePthreadAttr
impl From<_opaque_pthread_attr_t> for OpaquePthreadAttr
Source§fn from(value: _opaque_pthread_attr_t) -> Self
fn from(value: _opaque_pthread_attr_t) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for OpaquePthreadAttr
impl !RefUnwindSafe for OpaquePthreadAttr
impl !Send for OpaquePthreadAttr
impl !Sync for OpaquePthreadAttr
impl Unpin for OpaquePthreadAttr
impl !UnwindSafe for OpaquePthreadAttr
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