pub enum HeapType<'a> {
Func,
Extern,
Any,
Eq,
Data,
I31,
Index(Index<'a>),
}A heap type for a reference type
An untyped function reference: funcref. This is part of the reference
types proposal.
A reference to any host value: externref. This is part of the reference
types proposal.
A reference to any reference value: anyref. This is part of the GC
proposal.
A reference that has an identity that can be compared: eqref. This is
part of the GC proposal.
A reference to a GC object. This is part of the GC proposal.
An unboxed 31-bit integer: i31ref. This may be going away if there is no common
supertype of all reference types. Part of the GC proposal.
A reference to a function, struct, or array: ref T. This is part of the
GC proposal.
Formats the value using the given formatter. Read more
Attempts to parse Self from parser, returning an error if it could
not be parsed. Read more
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Tests to see whether this token is the first token within the Cursor
specified. Read more
Returns a human-readable name of this token to display when generating
errors about this token missing. Read more
The same as peek, except it checks the token immediately following
the current token. Read more
impl<T> Any for T where
T: 'static + ?Sized, [src]
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>, [src]
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.