#[non_exhaustive]#[repr(C)]pub struct WaitPtr {
pub ptr: *mut c_void,
}Available on crate feature
thread only.Expand description
A pointer in the Wait struct.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.ptr: *mut c_voidThe pointer value.
Implementations§
Trait Implementations§
impl Copy for WaitPtr
Auto Trait Implementations§
impl Freeze for WaitPtr
impl RefUnwindSafe for WaitPtr
impl !Send for WaitPtr
impl !Sync for WaitPtr
impl Unpin for WaitPtr
impl UnwindSafe for WaitPtr
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