Enum ra_ap_ide::SnippetScope
source · [−]pub enum SnippetScope {
Item,
Expr,
Type,
}
Expand description
A snippet scope describing where a snippet may apply to. These may differ slightly in meaning depending on the snippet trigger.
Variants
Item
Expr
Type
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SnippetScope
impl Send for SnippetScope
impl Sync for SnippetScope
impl Unpin for SnippetScope
impl UnwindSafe for SnippetScope
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
.
Compare self to key
and return true
if they are equal.
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