#[repr(C)]pub struct ClientId {
pub unique_process: usize,
pub unique_thread: usize,
}Expand description
CLIENT_ID structure
Fields§
§unique_process: usize§unique_thread: usizeImplementations§
Source§impl ClientId
impl ClientId
Sourcepub fn for_process(pid: u32) -> Self
pub fn for_process(pid: u32) -> Self
create for a process ID
Sourcepub fn for_thread(tid: u32) -> Self
pub fn for_thread(tid: u32) -> Self
create for a thread ID
Trait Implementations§
impl Copy for ClientId
Auto Trait Implementations§
impl Freeze for ClientId
impl RefUnwindSafe for ClientId
impl Send for ClientId
impl Sync for ClientId
impl Unpin for ClientId
impl UnwindSafe for ClientId
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