Struct ra_ap_ide_db::label::Label [−][src]
pub struct Label(_);
Expand description
A type to specify UI label, like an entry in the list of assists. Enforces proper casing:
Frobnicate bar
Note the upper-case first letter and the absence of .
at the end.
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Label
impl UnwindSafe for Label
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,