Trait uucore::Args

source ·
pub trait Args: Iterator<Item = OsString> + Sized {
    // Provided methods
    fn collect_lossy(self) -> Vec<String> { ... }
    fn collect_ignore(self) -> Vec<String> { ... }
}

Provided Methods§

source

fn collect_lossy(self) -> Vec<String>

Collects the iterator into a Vec<String>, lossily converting the OsStrings to Strings.

source

fn collect_ignore(self) -> Vec<String>

Collects the iterator into a Vec<String>, removing any elements that contain invalid encoding.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<T: Iterator<Item = OsString> + Sized> Args for T