pub struct PreprocResults {
pub files: HashMap<PathBuf, PreprocFile>,
}Expand description
Preprocessor data of a series of C/C++ files.
Serializing walks the files map in sorted path order and each
PreprocFile’s name sets in sorted order, so the document is
byte-identical across runs over unchanged sources and can be diffed
or hashed. The fields stay hashed containers, so iteration order
remains unspecified.
Fields§
§files: HashMap<PathBuf, PreprocFile>The preprocessor data of each C/C++ file
Trait Implementations§
Source§impl Debug for PreprocResults
impl Debug for PreprocResults
Source§impl Default for PreprocResults
impl Default for PreprocResults
Source§fn default() -> PreprocResults
fn default() -> PreprocResults
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PreprocResults
impl<'de> Deserialize<'de> for PreprocResults
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<PreprocResults, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<PreprocResults, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for PreprocResults
impl Serialize for PreprocResults
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for PreprocResults
impl RefUnwindSafe for PreprocResults
impl Send for PreprocResults
impl Sync for PreprocResults
impl Unpin for PreprocResults
impl UnsafeUnpin for PreprocResults
impl UnwindSafe for PreprocResults
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