pub struct RawRwLockAlloc { /* private fields */ }Expand description
Cast to a pointer of this type when constructing a rwlock from a raw pointer.
This is a pthread_rwlock_t that has been made !Unpin, because a rwlock must not be
relocated once it has been initialised. The two associated constants describe how much room to
leave for one when carving up a shared mapping by hand.
Implementations§
Auto Trait Implementations§
impl !Unpin for RawRwLockAlloc
impl !UnsafeUnpin for RawRwLockAlloc
impl Freeze for RawRwLockAlloc
impl RefUnwindSafe for RawRwLockAlloc
impl Send for RawRwLockAlloc
impl Sync for RawRwLockAlloc
impl UnwindSafe for RawRwLockAlloc
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