pub struct SourceSyntaxInspection {
pub has_error: bool,
pub boundary_candidate_count: usize,
}Expand description
Bounded syntax inspection used to corroborate focused textual facts.
Fields§
§has_error: boolWhether Tree-sitter recovered from at least one syntax error.
boundary_candidate_count: usizeNumber of syntax nodes that can contain a supported boundary.
Trait Implementations§
Source§impl Clone for SourceSyntaxInspection
impl Clone for SourceSyntaxInspection
Source§fn clone(&self) -> SourceSyntaxInspection
fn clone(&self) -> SourceSyntaxInspection
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 moreimpl Copy for SourceSyntaxInspection
Source§impl Debug for SourceSyntaxInspection
impl Debug for SourceSyntaxInspection
impl Eq for SourceSyntaxInspection
Source§impl PartialEq for SourceSyntaxInspection
impl PartialEq for SourceSyntaxInspection
impl StructuralPartialEq for SourceSyntaxInspection
Auto Trait Implementations§
impl Freeze for SourceSyntaxInspection
impl RefUnwindSafe for SourceSyntaxInspection
impl Send for SourceSyntaxInspection
impl Sync for SourceSyntaxInspection
impl Unpin for SourceSyntaxInspection
impl UnsafeUnpin for SourceSyntaxInspection
impl UnwindSafe for SourceSyntaxInspection
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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.