Struct nx::thread::ThreadLocalRegion
source · [−]#[repr(C)]pub struct ThreadLocalRegion {
pub msg_buffer: [u8; 256],
pub disable_counter: u16,
pub interrupt_flag: u16,
pub reserved_1: [u8; 4],
pub reserved_2: [u8; 120],
pub tls: [u8; 80],
pub locale_ptr: *mut u8,
pub errno_val: i64,
pub thread_data: [u8; 8],
pub eh_globals: [u8; 8],
pub thread_ptr: *mut u8,
pub thread_ref: *mut Thread,
}
Fields
msg_buffer: [u8; 256]
disable_counter: u16
interrupt_flag: u16
reserved_1: [u8; 4]
reserved_2: [u8; 120]
tls: [u8; 80]
locale_ptr: *mut u8
errno_val: i64
thread_data: [u8; 8]
eh_globals: [u8; 8]
thread_ptr: *mut u8
thread_ref: *mut Thread
Trait Implementations
sourceimpl Clone for ThreadLocalRegion
impl Clone for ThreadLocalRegion
sourcefn clone(&self) -> ThreadLocalRegion
fn clone(&self) -> ThreadLocalRegion
Returns a copy of the value. Read more
1.0.0fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Copy for ThreadLocalRegion
Auto Trait Implementations
impl RefUnwindSafe for ThreadLocalRegion
impl !Send for ThreadLocalRegion
impl !Sync for ThreadLocalRegion
impl Unpin for ThreadLocalRegion
impl UnwindSafe for ThreadLocalRegion
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> RequestCommandParameter for T where
T: Copy,
impl<T> RequestCommandParameter for T where
T: Copy,
default fn before_request_write(
_raw: &T,
walker: &mut DataWalker,
_ctx: &mut CommandContext
) -> Result<(), ResultCode>
default fn before_send_sync_request(
raw: &T,
walker: &mut DataWalker,
_ctx: &mut CommandContext
) -> Result<(), ResultCode>
sourceimpl<T> RequestCommandParameter<T> for T where
T: Copy,
impl<T> RequestCommandParameter<T> for T where
T: Copy,
default fn after_request_read(
ctx: &mut ServerContext<'_>
) -> Result<T, ResultCode>
sourceimpl<T> ResponseCommandParameter for T where
T: Copy,
impl<T> ResponseCommandParameter for T where
T: Copy,
default fn before_response_write(
_raw: &T,
ctx: &mut ServerContext<'_>
) -> Result<(), ResultCode>
default fn after_response_write(
raw: &T,
ctx: &mut ServerContext<'_>
) -> Result<(), ResultCode>
sourceimpl<T> ResponseCommandParameter<T> for T where
T: Copy,
impl<T> ResponseCommandParameter<T> for T where
T: Copy,
default fn after_response_read(
walker: &mut DataWalker,
_ctx: &mut CommandContext
) -> Result<T, ResultCode>
impl<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.
fn clone_into(&self, target: &mut T)
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