Managed vectors
raw | |
traits |
append | Iterates over the |
build | Builds a vector by calling a provided function with an argument function that pushes an element to the back of a vector. The initial size for the vector may optionally be specified |
capacity | Code for dealing with @-vectors. This is pretty incomplete, and contains a bunch of duplication from the code for ~-vectors. Returns the number of elements the vector can hold without reallocating |
from_elem | Creates and initializes an immutable vector. |
from_fn | Creates and initializes an immutable vector. |
map | Apply a function to each element of a vector and return the results |
to_managed | Creates and initializes an immutable managed vector by copying all the elements of a slice. |
to_managed_move | Creates and initializes an immutable managed vector by moving all the elements from an owned vector. |
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
(or str
), enum
,
trait
, typedef
(or
tdef
).