Struct os_str_generic::OsStrElement
[−]
[src]
pub struct OsStrElement { /* fields omitted */ }
A single "element" of an OsStr. On windows, this corresponds to a u16
. On unix-like systems, it
corresponds to a u8
Can be compared to another OsStrElement
or a &OsStr
.
Methods
impl OsStrElement
[src]
fn raw(&self) -> u8
fn as_os_string(&self) -> OsString
Trait Implementations
impl Debug for OsStrElement
[src]
impl Clone for OsStrElement
[src]
fn clone(&self) -> OsStrElement
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl PartialEq for OsStrElement
[src]
fn eq(&self, __arg_0: &OsStrElement) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &OsStrElement) -> bool
This method tests for !=
.
impl Eq for OsStrElement
[src]
impl Copy for OsStrElement
[src]
impl<'a> PartialEq<&'a OsStr> for OsStrElement
[src]
fn eq(&self, rhs: &&'a OsStr) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl PartialEq<char> for OsStrElement
[src]
fn eq(&self, rhs: &char) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.