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
.
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more