pub struct OsStrElement { /* private fields */ }
Expand description
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
.
Implementations§
Source§impl OsStrElement
impl OsStrElement
Trait Implementations§
Source§impl Clone for OsStrElement
impl Clone for OsStrElement
Source§fn clone(&self) -> OsStrElement
fn clone(&self) -> OsStrElement
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for OsStrElement
impl Debug for OsStrElement
Source§impl FromIterator<OsStrElement> for OsString
impl FromIterator<OsStrElement> for OsString
Source§fn from_iter<T>(iter: T) -> OsStringwhere
T: IntoIterator<Item = OsStrElement>,
fn from_iter<T>(iter: T) -> OsStringwhere
T: IntoIterator<Item = OsStrElement>,
Creates a value from an iterator. Read more
Source§impl<'a> PartialEq<&'a OsStr> for OsStrElement
impl<'a> PartialEq<&'a OsStr> for OsStrElement
Source§impl PartialEq<char> for OsStrElement
impl PartialEq<char> for OsStrElement
Source§impl PartialEq<u8> for OsStrElement
impl PartialEq<u8> for OsStrElement
Source§impl PartialEq for OsStrElement
impl PartialEq for OsStrElement
impl Copy for OsStrElement
impl Eq for OsStrElement
impl StructuralPartialEq for OsStrElement
Auto Trait Implementations§
impl Freeze for OsStrElement
impl RefUnwindSafe for OsStrElement
impl Send for OsStrElement
impl Sync for OsStrElement
impl Unpin for OsStrElement
impl UnwindSafe for OsStrElement
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more