#[repr(C)]pub struct CtorInfo {
pub legacy_init: usize,
pub init_array: usize,
pub init_array_len: usize,
}
Expand description
Information about constructors for a library.
Fields§
§legacy_init: usize
Legacy pointer to _init function for a library. Can be called with the C abi.
init_array: usize
Pointer to start of the init array, which contains functions pointers that can be called by the C abi.
init_array_len: usize
Length of the init array.
Trait Implementations§
source§impl PartialEq<CtorInfo> for CtorInfo
impl PartialEq<CtorInfo> for CtorInfo
source§impl PartialOrd<CtorInfo> for CtorInfo
impl PartialOrd<CtorInfo> for CtorInfo
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 CtorInfo
impl StructuralPartialEq for CtorInfo
Auto Trait Implementations§
impl Crossing for CtorInfo
impl ObjSafe for CtorInfo
impl RefUnwindSafe for CtorInfo
impl Send for CtorInfo
impl Sync for CtorInfo
impl Unpin for CtorInfo
impl UnwindSafe for CtorInfo
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