pub struct Temps {
pub preprocessed: Option<String>,
pub assembly: Option<String>,
}Expand description
The intermediate text a compilation went through, kept when -save-temps asked for it.
Both are None on a compilation that was not asked to keep anything, and the assembly is
None on one that stopped before there was any. Holding the text rather than writing it is
what keeps this function free of the file system, which is what lets it be tested against a
map from path to bytes.
Fields§
§preprocessed: Option<String>Phase 4’s output, the same text -E would have printed.
assembly: Option<String>The assembly the back end produced on the way to the object file.
Trait Implementations§
impl Eq for Temps
impl StructuralPartialEq for Temps
Auto Trait Implementations§
impl Freeze for Temps
impl RefUnwindSafe for Temps
impl Send for Temps
impl Sync for Temps
impl Unpin for Temps
impl UnsafeUnpin for Temps
impl UnwindSafe for Temps
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.