Struct ra_ap_hir::diagnostics::IncorrectCase
source · pub struct IncorrectCase {
pub file: HirFileId,
pub ident: AstPtr<Name>,
pub expected_case: CaseType,
pub ident_type: IdentType,
pub ident_text: String,
pub suggested_text: String,
}
Fields§
§file: HirFileId
§ident: AstPtr<Name>
§expected_case: CaseType
§ident_type: IdentType
§ident_text: String
§suggested_text: String
Trait Implementations§
source§impl Debug for IncorrectCase
impl Debug for IncorrectCase
source§impl From<IncorrectCase> for AnyDiagnostic
impl From<IncorrectCase> for AnyDiagnostic
source§fn from(d: IncorrectCase) -> AnyDiagnostic
fn from(d: IncorrectCase) -> AnyDiagnostic
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for IncorrectCase
impl RefUnwindSafe for IncorrectCase
impl Send for IncorrectCase
impl Sync for IncorrectCase
impl Unpin for IncorrectCase
impl UnwindSafe for IncorrectCase
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> Cast for T
impl<T> Cast for T
source§fn cast<U>(self, interner: <U as HasInterner>::Interner) -> Uwhere
Self: CastTo<U>,
U: HasInterner,
fn cast<U>(self, interner: <U as HasInterner>::Interner) -> Uwhere
Self: CastTo<U>,
U: HasInterner,
Cast a value to type
U
using CastTo
.