#[repr(C)]pub struct comp_init_info {
pub legacy_init: Option<unsafe extern "C-unwind" fn()>,
pub init_array: *mut Option<unsafe extern "C-unwind" fn()>,
pub init_array_len: usize,
pub comp_config_info: *mut c_void,
}
Expand description
Init information for compartments
Fields§
§legacy_init: Option<unsafe extern "C-unwind" fn()>
Fn ptr to _init
init_array: *mut Option<unsafe extern "C-unwind" fn()>
Pointer to the init array
init_array_len: usize
Length of init array
comp_config_info: *mut c_void
Pointer to compartment config info
Trait Implementations§
source§impl Clone for comp_init_info
impl Clone for comp_init_info
source§fn clone(&self) -> comp_init_info
fn clone(&self) -> comp_init_info
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 Debug for comp_init_info
impl Debug for comp_init_info
impl Copy for comp_init_info
Auto Trait Implementations§
impl Freeze for comp_init_info
impl RefUnwindSafe for comp_init_info
impl !Send for comp_init_info
impl !Sync for comp_init_info
impl Unpin for comp_init_info
impl UnwindSafe for comp_init_info
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)