Struct windows::Win32::System::Threading::PEB

#[repr(C)]
pub struct PEB {
Show 19 fields pub Reserved1: [u8; 2], pub BeingDebugged: u8, pub Reserved2: [u8; 1], pub Reserved3: [*mut c_void; 2], pub Ldr: *mut PEB_LDR_DATA, pub ProcessParameters: *mut RTL_USER_PROCESS_PARAMETERS, pub Reserved4: [*mut c_void; 3], pub AtlThunkSListPtr: *mut c_void, pub Reserved5: *mut c_void, pub Reserved6: u32, pub Reserved7: *mut c_void, pub Reserved8: u32, pub AtlThunkSListPtr32: u32, pub Reserved9: [*mut c_void; 45], pub Reserved10: [u8; 96], pub PostProcessInitRoutine: PPS_POST_PROCESS_INIT_ROUTINE, pub Reserved11: [u8; 128], pub Reserved12: [*mut c_void; 1], pub SessionId: u32,
}

Fields§

§Reserved1: [u8; 2]§BeingDebugged: u8§Reserved2: [u8; 1]§Reserved3: [*mut c_void; 2]§Ldr: *mut PEB_LDR_DATA§ProcessParameters: *mut RTL_USER_PROCESS_PARAMETERS§Reserved4: [*mut c_void; 3]§AtlThunkSListPtr: *mut c_void§Reserved5: *mut c_void§Reserved6: u32§Reserved7: *mut c_void§Reserved8: u32§AtlThunkSListPtr32: u32§Reserved9: [*mut c_void; 45]§Reserved10: [u8; 96]§PostProcessInitRoutine: PPS_POST_PROCESS_INIT_ROUTINE§Reserved11: [u8; 128]§Reserved12: [*mut c_void; 1]§SessionId: u32

Trait Implementations§

§

impl Clone for PEB

§

fn clone(&self) -> PEB

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Debug for PEB

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
§

impl Default for PEB

§

fn default() -> Self

Returns the “default value” for a type. Read more
§

impl Copy for PEB

Auto Trait Implementations§

§

impl Freeze for PEB

§

impl RefUnwindSafe for PEB

§

impl !Send for PEB

§

impl !Sync for PEB

§

impl Unpin for PEB

§

impl UnwindSafe for PEB

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where T: Clone,

source§

default unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> CloneToUninit for T
where T: Copy,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<T, U> Param<T, CopyType> for U
where T: TypeKind<TypeKind = CopyType> + Clone, U: TypeKind<TypeKind = CopyType> + Clone + CanInto<T>,

§

unsafe fn param(self) -> ParamValue<T>

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.