pub struct LocalFunctionEscape {
pub contract: u32,
pub span_start: u32,
}Expand description
A reference to a local function binding that is not a direct callee, for
example items.map(format), const g = format, <Format /> or
format`x`.
Fields§
§contract: u32Index into FunctionContractFacts::declarations.
span_start: u32Start byte of the reference.
Trait Implementations§
Source§impl Clone for LocalFunctionEscape
impl Clone for LocalFunctionEscape
impl Copy for LocalFunctionEscape
Source§impl Debug for LocalFunctionEscape
impl Debug for LocalFunctionEscape
impl<'__de> Decode<'__de> for LocalFunctionEscapewhere
'__de:,
impl Encode for LocalFunctionEscape
impl Eq for LocalFunctionEscape
Source§impl PartialEq for LocalFunctionEscape
impl PartialEq for LocalFunctionEscape
impl StructuralPartialEq for LocalFunctionEscape
Auto Trait Implementations§
impl Forget for LocalFunctionEscape
impl Freeze for LocalFunctionEscape
impl Move for LocalFunctionEscape
impl RefUnwindSafe for LocalFunctionEscape
impl Send for LocalFunctionEscape
impl Sync for LocalFunctionEscape
impl Unpin for LocalFunctionEscape
impl UnsafeUnpin for LocalFunctionEscape
impl UnwindSafe for LocalFunctionEscape
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<T> DecodeOwned for Twhere
T: for<'de> Decode<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.