Skip to main content

split_args

Function split_args 

Source
fn split_args(
    body: &str,
    allow_legacy: bool,
) -> Option<(Vec<&str>, Option<&str>, bool)>
Expand description

引数を (成分, 不透明度, 旧構文か) に分ける。旧構文(カンマ区切り)は allow_legacy のときだけ。