pub struct Embedded {
pub sources: &'static [EmbeddedSource],
pub run: EmbeddedRun,
pub backend: EmbeddedBackend,
}Expand description
A whole program: the sources a built binary carries, the run it carries them for, and the backend it runs them on.
Fields§
§sources: &'static [EmbeddedSource]Every .cove file of the package, which together are the whole
program: the binary reads no source from disk.
run: EmbeddedRunThe run the sources were built for.
backend: EmbeddedBackendThe backend cove build chose, which is the linear-memory backend
unless the build asked otherwise.
Implementations§
Auto Trait Implementations§
impl Freeze for Embedded
impl RefUnwindSafe for Embedded
impl Send for Embedded
impl Sync for Embedded
impl Unpin for Embedded
impl UnsafeUnpin for Embedded
impl UnwindSafe for Embedded
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