Struct ra_ap_hir::IncorrectCase [−][src]
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
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for IncorrectCase
impl Send for IncorrectCase
impl Sync for IncorrectCase
impl Unpin for IncorrectCase
impl UnwindSafe for IncorrectCase
Blanket Implementations
Mutably borrows from an owned value. Read more
fn cast<U>(self, interner: &<U as HasInterner>::Interner) -> U where
Self: CastTo<U>,
U: HasInterner,
fn cast<U>(self, interner: &<U as HasInterner>::Interner) -> U where
Self: CastTo<U>,
U: HasInterner,
Cast a value to type U
using CastTo
.
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
impl<T> Any for T where
T: Any,