#[repr(C, align(8))]pub struct Program {
pub _bindgen_opaque_blob: [u64; 11],
}Expand description
A deserialized ExecuTorch program binary.
Fields§
§_bindgen_opaque_blob: [u64; 11]Implementations§
Source§impl Program
impl Program
pub unsafe fn num_methods(&self) -> usize
pub unsafe fn check_header( data: *const c_void, size: usize, ) -> Program_HeaderStatus
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Program
impl RefUnwindSafe for Program
impl Send for Program
impl Sync for Program
impl Unpin for Program
impl UnwindSafe for Program
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