split_last_swizzle

Function split_last_swizzle 

Source
fn split_last_swizzle(expr: &str) -> Option<(&str, &str)>
Expand description

Return (prefix, components) where <expr>.<components> is the swizzle. Splits on the last . at depth 0.