Function std::iter::once
[−]
[src]
pub fn once<T>(value: T) -> Once<T>
Creates an iterator that yields an element exactly once.
pub fn once<T>(value: T) -> Once<T>
Creates an iterator that yields an element exactly once.
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
, enum
,
trait
, type
, macro
,
and const
.
Search functions by type signature (e.g.
vec -> usize
)