pub struct TargetDefines {
pub macros: BTreeSet<MacroName>,
pub records: BTreeSet<RecordName>,
pub types: BTreeSet<(TypeName, Arity)>,
pub coverage: IncludeCoverage,
pub macro_attributes: bool,
}Expand description
Macros, records, and types defined in the target version of the subject’s file or a header it transitively includes, with the include set taken from the target text and the patch’s added text alike.
Fields§
§macros: BTreeSet<MacroName>§records: BTreeSet<RecordName>§types: BTreeSet<(TypeName, Arity)>§coverage: IncludeCoverage§macro_attributes: boolA macro-expanded attribute form in the closure: any attribute-derived set here may be missing what it expands to.
Trait Implementations§
Source§impl Debug for TargetDefines
impl Debug for TargetDefines
Auto Trait Implementations§
impl Forget for TargetDefines
impl Freeze for TargetDefines
impl Move for TargetDefines
impl RefUnwindSafe for TargetDefines
impl Send for TargetDefines
impl Sync for TargetDefines
impl Unpin for TargetDefines
impl UnsafeUnpin for TargetDefines
impl UnwindSafe for TargetDefines
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