pub struct CppExternalDeclarationSet {
pub types: Vec<CppExternalType>,
pub members: Vec<CppExternalMember>,
pub completeness: CppExternalDeclarationCompleteness,
pub syntax_complete: bool,
pub diagnostics: Vec<CppExternalDeclarationDiagnostic>,
}Fields§
§types: Vec<CppExternalType>§members: Vec<CppExternalMember>§completeness: CppExternalDeclarationCompleteness§syntax_complete: boolWhether every declaration the header’s own syntax states was extracted: the parse needed no error recovery and no record was dropped by the limit.
This is narrower than completeness, which also turns partial for any
preprocessing. Conditional compilation does not hide a written
declaration from this extractor: every branch is parsed and extracted,
and a macro definition is extracted under its own name. A declaration
that only a macro expansion writes is not in the header’s syntax at all
and is outside what this reports.
diagnostics: Vec<CppExternalDeclarationDiagnostic>Trait Implementations§
Source§impl Clone for CppExternalDeclarationSet
impl Clone for CppExternalDeclarationSet
Source§impl Debug for CppExternalDeclarationSet
impl Debug for CppExternalDeclarationSet
impl Eq for CppExternalDeclarationSet
impl StructuralPartialEq for CppExternalDeclarationSet
Auto Trait Implementations§
impl Freeze for CppExternalDeclarationSet
impl RefUnwindSafe for CppExternalDeclarationSet
impl Send for CppExternalDeclarationSet
impl Sync for CppExternalDeclarationSet
impl Unpin for CppExternalDeclarationSet
impl UnsafeUnpin for CppExternalDeclarationSet
impl UnwindSafe for CppExternalDeclarationSet
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more