Struct libuv_sys2::uv__work
source · [−]#[repr(C)]pub struct uv__work {
pub work: Option<unsafe extern "C" fn(w: *mut uv__work)>,
pub done: Option<unsafe extern "C" fn(w: *mut uv__work, status: c_int)>,
pub loop_: *mut uv_loop_s,
pub wq: [*mut c_void; 2],
}Fields
work: Option<unsafe extern "C" fn(w: *mut uv__work)>done: Option<unsafe extern "C" fn(w: *mut uv__work, status: c_int)>loop_: *mut uv_loop_swq: [*mut c_void; 2]Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for uv__work
impl !Send for uv__work
impl !Sync for uv__work
impl Unpin for uv__work
impl UnwindSafe for uv__work
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more