Struct ra_ap_ide::RangeInfo [−][src]
pub struct RangeInfo<T> { pub range: TextRange, pub info: T, }
Expand description
Info associated with a text range.
Fields
range: TextRange
info: T
Implementations
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for RangeInfo<T> where
T: RefUnwindSafe,
impl<T> UnwindSafe for RangeInfo<T> where
T: UnwindSafe,
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,