pub enum ExecutableProgram<'program> {
Program(&'program Program),
Compiled(&'program CompiledProgram),
}Variants§
Program(&'program Program)
Compiled(&'program CompiledProgram)
Trait Implementations§
Source§impl<'program> From<&'program CompiledProgram> for ExecutableProgram<'program>
impl<'program> From<&'program CompiledProgram> for ExecutableProgram<'program>
Source§fn from(program: &'program CompiledProgram) -> Self
fn from(program: &'program CompiledProgram) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<'program> !RefUnwindSafe for ExecutableProgram<'program>
impl<'program> !UnwindSafe for ExecutableProgram<'program>
impl<'program> Freeze for ExecutableProgram<'program>
impl<'program> Send for ExecutableProgram<'program>
impl<'program> Sync for ExecutableProgram<'program>
impl<'program> Unpin for ExecutableProgram<'program>
impl<'program> UnsafeUnpin for ExecutableProgram<'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