_marker: PhantomData<fn(_: &I)>
n elements, where the value of each
element is the result of
func(i). (The underlying vector will
be allocated only once, with a capacity of at least
Gives the next index that will be assigned when
Returns mutable references to two distinct elements,
a == b.
Returns mutable references to three distinct elements.
Panics if the elements are not distinct.
Grows the index vector so that it contains an entry for
elem; if that is already true, then has no
effect. Otherwise, inserts new values as needed by invoking
IndexVec is often used as a map, so it provides some map-like APIs.
container[index]) operation. Read more
Auto Trait Implementations§
Returns the argument unchanged.
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain
repr(...) attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 24 bytes