pub struct ThreadStorageData<'a> {
pub header: &'a ThreadStorageFixed,
pub name: &'a BStr,
}
Expand description
Record data for S_LTHREAD32
and S_GTHREAD32
. These describes thread-local storage.
Thread-local storage is declared using __declspec(thread)
or thread_static
, in C++.
Fields§
§header: &'a ThreadStorageFixed
§name: &'a BStr
Trait Implementations§
Source§impl<'a> Clone for ThreadStorageData<'a>
impl<'a> Clone for ThreadStorageData<'a>
Source§fn clone(&self) -> ThreadStorageData<'a>
fn clone(&self) -> ThreadStorageData<'a>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'a> Debug for ThreadStorageData<'a>
impl<'a> Debug for ThreadStorageData<'a>
Source§impl<'a> Parse<'a> for ThreadStorageData<'a>
impl<'a> Parse<'a> for ThreadStorageData<'a>
Source§fn from_parser(p: &mut Parser<'a>) -> Result<Self, ParserError>
fn from_parser(p: &mut Parser<'a>) -> Result<Self, ParserError>
Parses an instance of
Self
from a Parser
.
This allows the caller to detect which bytes were not consumed at the end of the input.Auto Trait Implementations§
impl<'a> Freeze for ThreadStorageData<'a>
impl<'a> RefUnwindSafe for ThreadStorageData<'a>
impl<'a> Send for ThreadStorageData<'a>
impl<'a> Sync for ThreadStorageData<'a>
impl<'a> Unpin for ThreadStorageData<'a>
impl<'a> UnwindSafe for ThreadStorageData<'a>
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