Skip to main content

vec_head

Function vec_head 

Source
pub fn vec_head<T>(v: &[T]) -> Option<&T>
Expand description

Return the first element of a slice, or None.