#[repr(C)]pub struct UnitDescriptor {
pub function_id: u32,
pub module_id: u32,
pub entry: NativeEntryFn,
}Expand description
One compiled function in a linked AOT image.
Fields§
§function_id: u32The bytecode function id this entry implements.
module_id: u32The bytecode module id containing function_id.
entry: NativeEntryFnThe finalized native entry.
Trait Implementations§
Source§impl Clone for UnitDescriptor
impl Clone for UnitDescriptor
Source§fn clone(&self) -> UnitDescriptor
fn clone(&self) -> UnitDescriptor
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 UnitDescriptor
Auto Trait Implementations§
impl Freeze for UnitDescriptor
impl RefUnwindSafe for UnitDescriptor
impl Send for UnitDescriptor
impl Sync for UnitDescriptor
impl Unpin for UnitDescriptor
impl UnsafeUnpin for UnitDescriptor
impl UnwindSafe for UnitDescriptor
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