slice_starts_with

Macro slice_starts_with 

Source
macro_rules! slice_starts_with {
    ($s:expr, $prefix:expr) => { ... };
}
Expand description

Check if a slice starts with another slice. This only works for slices of primitive integer types and str.