Enum ra_ap_hir::CallableKind [−][src]
pub enum CallableKind { Function(Function), TupleStruct(Struct), TupleEnumVariant(Variant), Closure, }
Variants
Function(Function)
TupleStruct(Struct)
TupleEnumVariant(Variant)
Auto Trait Implementations
impl RefUnwindSafe for CallableKind
impl Send for CallableKind
impl Sync for CallableKind
impl Unpin for CallableKind
impl UnwindSafe for CallableKind
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,