pub struct Program {
pub main: Box<[u8]>,
pub data: ProgramData,
}
Fields
main: Box<[u8]>
data: ProgramData
Implementations
sourceimpl Program
impl Program
pub fn load(program: UnloadedProgram) -> Self
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Program
impl !Send for Program
impl !Sync for Program
impl Unpin for Program
impl UnwindSafe for Program
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more