pub struct CoreFunc<'a> {
pub span: Span,
pub id: Option<Id<'a>>,
pub name: Option<NameAnnotation<'a>>,
pub kind: CoreFuncKind<'a>,
}
Expand description
A declared core function.
This is a member of both the core alias and canon sections.
Fields
span: Span
Where this core func
was defined.
id: Option<Id<'a>>
An identifier that this function is resolved with (optionally) for name resolution.
name: Option<NameAnnotation<'a>>
An optional name for this function stored in the custom name
section.
kind: CoreFuncKind<'a>
The kind of core function.
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for CoreFunc<'a>
impl<'a> Send for CoreFunc<'a>
impl<'a> Sync for CoreFunc<'a>
impl<'a> Unpin for CoreFunc<'a>
impl<'a> UnwindSafe for CoreFunc<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more