pub enum LoweredActionKind {
CompileC,
CompileCpp,
SyntaxCheckC,
SyntaxCheckCpp,
ArchiveStaticLibrary,
LinkExecutable,
}Expand description
Categorization of a lowered action. A closed set; new variants require explicit handling by every backend.
Variants§
CompileC
Compile a single C translation unit (.c) to an object file.
CompileCpp
Compile a single C++ translation unit to an object file.
SyntaxCheckC
Parse + semantic-check a C translation unit. Produces no object file; a stamp output records success.
SyntaxCheckCpp
Parse + semantic-check a C++ translation unit. Produces no object file; a stamp output records success.
ArchiveStaticLibrary
Archive a set of object files into a static library.
LinkExecutable
Link object files plus static archives into an executable.
Trait Implementations§
Source§impl Clone for LoweredActionKind
impl Clone for LoweredActionKind
Source§fn clone(&self) -> LoweredActionKind
fn clone(&self) -> LoweredActionKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for LoweredActionKind
Source§impl Debug for LoweredActionKind
impl Debug for LoweredActionKind
impl Eq for LoweredActionKind
Source§impl PartialEq for LoweredActionKind
impl PartialEq for LoweredActionKind
Source§fn eq(&self, other: &LoweredActionKind) -> bool
fn eq(&self, other: &LoweredActionKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LoweredActionKind
Auto Trait Implementations§
impl Freeze for LoweredActionKind
impl RefUnwindSafe for LoweredActionKind
impl Send for LoweredActionKind
impl Sync for LoweredActionKind
impl Unpin for LoweredActionKind
impl UnsafeUnpin for LoweredActionKind
impl UnwindSafe for LoweredActionKind
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.