#[repr(C)]pub struct AbiCanary {Show 19 fields
pub trait_object_size: usize,
pub audio_buffer_size: usize,
pub process_context_size: usize,
pub process_status_size: usize,
pub event_size: usize,
pub event_body_size: usize,
pub transport_size: usize,
pub widget_region_size: usize,
pub theme_size: usize,
pub plugin_layout_size: usize,
pub color_size: usize,
pub vec_u8_size: usize,
pub option_usize_size: usize,
pub audio_buffer_align: usize,
pub process_status_align: usize,
pub result_normal_disc: u8,
pub result_tail_disc: u8,
pub result_keepalive_disc: u8,
pub rustc_version_hash: u64,
}Expand description
ABI fingerprint. Compared between shell and dylib before loading.
This is the ONE #[repr(C)] type in the system — it’s the
bootstrap verification struct that makes everything else safe.
Fields§
§trait_object_size: usize§audio_buffer_size: usize§process_context_size: usize§process_status_size: usize§event_size: usize§event_body_size: usize§transport_size: usize§widget_region_size: usize§theme_size: usize§plugin_layout_size: usize§color_size: usize§vec_u8_size: usize§option_usize_size: usize§audio_buffer_align: usize§process_status_align: usize§result_normal_disc: u8§result_tail_disc: u8§result_keepalive_disc: u8§rustc_version_hash: u64Implementations§
Auto Trait Implementations§
impl Freeze for AbiCanary
impl RefUnwindSafe for AbiCanary
impl Send for AbiCanary
impl Sync for AbiCanary
impl Unpin for AbiCanary
impl UnsafeUnpin for AbiCanary
impl UnwindSafe for AbiCanary
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