pub struct TlsSegment {
pub vaddr: u64,
pub file_size: u64,
pub mem_size: u64,
pub align: u64,
}Expand description
The PT_TLS segment: the thread-local storage template a runtime copies
for each thread. At most one per file.
Fields§
§vaddr: u64Unrelocated virtual address of the template.
file_size: u64Bytes of the template that come from the file (.tdata).
mem_size: u64Total size, the tail being zero-filled (.tbss).
align: u64p_align.
Trait Implementations§
Source§impl Clone for TlsSegment
impl Clone for TlsSegment
Source§fn clone(&self) -> TlsSegment
fn clone(&self) -> TlsSegment
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TlsSegment
Source§impl Debug for TlsSegment
impl Debug for TlsSegment
impl Eq for TlsSegment
Source§impl PartialEq for TlsSegment
impl PartialEq for TlsSegment
impl StructuralPartialEq for TlsSegment
Auto Trait Implementations§
impl Freeze for TlsSegment
impl RefUnwindSafe for TlsSegment
impl Send for TlsSegment
impl Sync for TlsSegment
impl Unpin for TlsSegment
impl UnsafeUnpin for TlsSegment
impl UnwindSafe for TlsSegment
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