pub struct LVec<T: Unify> { /* private fields */ }
Expand description
A Vec
-like data structure with Value
values.
Construct with the lvec!
macro, or you can use the
From<Vec<Value<T>>>
or FromIterator<Value<T>>
trait implementations.
Returns the number of elements in the LVec.
Returns true if the LVec contains no elements.
Formats the value using the given formatter.
Read more
Converts to this type from the input type.
Converts to this type from the input type.
The “concrete” type that Self
reifies to.
Extract a reified
Self
from a compatible
State
. This trait is usually
used indirectly through the
Query
trait.
Read more
Attempt to unify two fully resolved values.
Read more
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
From<T> for U
chooses to do.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.