pub enum FrameName {
Member(Text),
Main,
Closure(Option<CtxSpan>),
Top,
}Expand description
The function a call is in.
Variants§
Member(Text)
A member, a function or a value of a module or a recur group.
Main
A module’s __main, or the function it is.
Closure(Option<CtxSpan>)
A lambda that no member names, with its span.
Top
An expression evaluated on its own.
Trait Implementations§
impl Eq for FrameName
impl StructuralPartialEq for FrameName
Auto Trait Implementations§
impl !RefUnwindSafe for FrameName
impl !Sync for FrameName
impl !UnwindSafe for FrameName
impl Freeze for FrameName
impl Send for FrameName
impl Unpin for FrameName
impl UnsafeUnpin for FrameName
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more