pub struct Kernel {
pub name: &'static str,
pub binary: &'static str,
pub args: &'static [&'static str],
pub input: KernelInput,
pub admits_sorry: bool,
}Expand description
One kernel: a display name, the toolchain binary, its leading arguments,
how it is given the export, and whether it accepts declarations that use
sorryAx. A kernel that does not (nanoda leaves the axiom out of its
environment; con-leche and con-ron refuse it) reads the export without the
declarations that depend on sorryAx, none of which a caller credits.
Fields§
§name: &'static str§binary: &'static str§args: &'static [&'static str]§input: KernelInput§admits_sorry: boolImplementations§
Trait Implementations§
impl Copy for Kernel
impl Eq for Kernel
impl StructuralPartialEq for Kernel
Auto Trait Implementations§
impl Forget for Kernel
impl Freeze for Kernel
impl RefUnwindSafe for Kernel
impl Send for Kernel
impl Sync for Kernel
impl Unpin for Kernel
impl UnsafeUnpin for Kernel
impl UnwindSafe for Kernel
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.