pub struct ReferenceIntegrityResult {
pub target_symbol: SymbolId,
pub issues: Vec<ReferenceIntegrityIssue>,
}Expand description
Result of reference integrity analysis.
Fields§
§target_symbol: SymbolIdThe symbol being analyzed.
issues: Vec<ReferenceIntegrityIssue>Issues found during analysis.
Implementations§
Source§impl ReferenceIntegrityResult
impl ReferenceIntegrityResult
Sourcepub fn has_issues(&self) -> bool
pub fn has_issues(&self) -> bool
Check if there are any issues.
Sourcepub fn error_count(&self) -> usize
pub fn error_count(&self) -> usize
Get the count of errors (not warnings).
Sourcepub fn warning_count(&self) -> usize
pub fn warning_count(&self) -> usize
Get the count of warnings.
Trait Implementations§
Source§impl Clone for ReferenceIntegrityResult
impl Clone for ReferenceIntegrityResult
Source§fn clone(&self) -> ReferenceIntegrityResult
fn clone(&self) -> ReferenceIntegrityResult
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 moreAuto Trait Implementations§
impl Freeze for ReferenceIntegrityResult
impl RefUnwindSafe for ReferenceIntegrityResult
impl Send for ReferenceIntegrityResult
impl Sync for ReferenceIntegrityResult
impl Unpin for ReferenceIntegrityResult
impl UnsafeUnpin for ReferenceIntegrityResult
impl UnwindSafe for ReferenceIntegrityResult
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<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