pub trait Args: Iterator<Item = OsString> + Sized {
// Provided methods
fn collect_lossy(self) -> Vec<String> { ... }
fn collect_ignore(self) -> Vec<String> { ... }
}Provided Methods§
sourcefn collect_lossy(self) -> Vec<String>
fn collect_lossy(self) -> Vec<String>
Collects the iterator into a Vec<String>, lossily converting the OsStrings to Strings.
sourcefn collect_ignore(self) -> Vec<String>
fn collect_ignore(self) -> Vec<String>
Collects the iterator into a Vec<String>, removing any elements that contain invalid encoding.