#[repr(C)]pub struct lucet_module_addr_details {
pub module_code_resolvable: bool,
pub in_module_code: bool,
pub file_name: [c_uchar; 256],
pub sym_name: [c_uchar; 256],
}
Expand description
Half a kilobyte is too substantial for Copy
, but we must have it because unions with
non-Copy
fields are unstable.
Fields§
§module_code_resolvable: bool
§in_module_code: bool
§file_name: [c_uchar; 256]
§sym_name: [c_uchar; 256]
Trait Implementations§
Source§impl Clone for lucet_module_addr_details
impl Clone for lucet_module_addr_details
Source§fn clone(&self) -> lucet_module_addr_details
fn clone(&self) -> lucet_module_addr_details
Returns a duplicate 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 Default for lucet_module_addr_details
impl Default for lucet_module_addr_details
Source§impl From<Option<AddrDetails>> for lucet_module_addr_details
impl From<Option<AddrDetails>> for lucet_module_addr_details
Source§fn from(details: Option<AddrDetails>) -> Self
fn from(details: Option<AddrDetails>) -> Self
Converts to this type from the input type.
impl Copy for lucet_module_addr_details
Auto Trait Implementations§
impl Freeze for lucet_module_addr_details
impl RefUnwindSafe for lucet_module_addr_details
impl Send for lucet_module_addr_details
impl Sync for lucet_module_addr_details
impl Unpin for lucet_module_addr_details
impl UnwindSafe for lucet_module_addr_details
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