pub trait FromWide {
// Required method
fn to_u16_slice(&self) -> &[u16];
// Provided methods
fn to_os_string(&self) -> OsString { ... }
fn from_wide(&self) -> Option<String> { ... }
}pub trait FromWide {
// Required method
fn to_u16_slice(&self) -> &[u16];
// Provided methods
fn to_os_string(&self) -> OsString { ... }
fn from_wide(&self) -> Option<String> { ... }
}