pub struct IndentDiagnostic {
pub range: TextRange,
pub message: String,
}Expand description
An indentation diagnostic produced while injecting block-structure markers.
Byte-ranged; mapped into a gdscript-base Diagnostic by the IDE layer.
Fields§
§range: TextRangeThe offending leading-whitespace range.
message: StringA human-readable message (mirrors Godot’s wording).
Trait Implementations§
Source§impl Clone for IndentDiagnostic
impl Clone for IndentDiagnostic
Source§fn clone(&self) -> IndentDiagnostic
fn clone(&self) -> IndentDiagnostic
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 moreSource§impl Debug for IndentDiagnostic
impl Debug for IndentDiagnostic
impl Eq for IndentDiagnostic
Source§impl PartialEq for IndentDiagnostic
impl PartialEq for IndentDiagnostic
Source§fn eq(&self, other: &IndentDiagnostic) -> bool
fn eq(&self, other: &IndentDiagnostic) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for IndentDiagnostic
Auto Trait Implementations§
impl Freeze for IndentDiagnostic
impl RefUnwindSafe for IndentDiagnostic
impl Send for IndentDiagnostic
impl Sync for IndentDiagnostic
impl Unpin for IndentDiagnostic
impl UnsafeUnpin for IndentDiagnostic
impl UnwindSafe for IndentDiagnostic
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§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.