Struct twizzler_runtime_api::TlsIndex
source · #[repr(C)]pub struct TlsIndex {
pub mod_id: usize,
pub offset: usize,
}
Expand description
An ABI-defined argument passed to __tls_get_addr.
Fields§
§mod_id: usize
The ID of the module.
offset: usize
The offset into that module’s TLS region.
Trait Implementations§
source§impl Ord for TlsIndex
impl Ord for TlsIndex
source§impl PartialEq<TlsIndex> for TlsIndex
impl PartialEq<TlsIndex> for TlsIndex
source§impl PartialOrd<TlsIndex> for TlsIndex
impl PartialOrd<TlsIndex> for TlsIndex
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for TlsIndex
impl Eq for TlsIndex
impl StructuralEq for TlsIndex
impl StructuralPartialEq for TlsIndex
Auto Trait Implementations§
impl RefUnwindSafe for TlsIndex
impl Send for TlsIndex
impl Sync for TlsIndex
impl Unpin for TlsIndex
impl UnwindSafe for TlsIndex
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