Expand description
Tuple Fields
0: InnerImplementations
sourceimpl<Inner> OsStringDisplay<Inner>where
Inner: AsRef<OsStr> + Debug,
impl<Inner> OsStringDisplay<Inner>where
Inner: AsRef<OsStr> + Debug,
sourceimpl OsStringDisplay
impl OsStringDisplay
sourcepub fn os_string_from(source: impl Into<OsString>) -> Self
pub fn os_string_from(source: impl Into<OsString>) -> Self
Create an OsStringDisplay of OsString.
Trait Implementations
sourceimpl<Inner: Clone> Clone for OsStringDisplay<Inner>where
Inner: AsRef<OsStr> + Debug,
impl<Inner: Clone> Clone for OsStringDisplay<Inner>where
Inner: AsRef<OsStr> + Debug,
sourcefn clone(&self) -> OsStringDisplay<Inner>
fn clone(&self) -> OsStringDisplay<Inner>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl<Inner: Default> Default for OsStringDisplay<Inner>where
Inner: AsRef<OsStr> + Debug,
impl<Inner: Default> Default for OsStringDisplay<Inner>where
Inner: AsRef<OsStr> + Debug,
sourcefn default() -> OsStringDisplay<Inner>
fn default() -> OsStringDisplay<Inner>
Returns the “default value” for a type. Read more
sourceimpl<'de, Inner> Deserialize<'de> for OsStringDisplay<Inner>where
Inner: AsRef<OsStr> + Debug,
Inner: Deserialize<'de>,
impl<'de, Inner> Deserialize<'de> for OsStringDisplay<Inner>where
Inner: AsRef<OsStr> + Debug,
Inner: Deserialize<'de>,
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl<Inner> From<Inner> for OsStringDisplay<Inner>where
Inner: AsRef<OsStr> + Debug,
impl<Inner> From<Inner> for OsStringDisplay<Inner>where
Inner: AsRef<OsStr> + Debug,
sourcefn from(original: Inner) -> OsStringDisplay<Inner>
fn from(original: Inner) -> OsStringDisplay<Inner>
Converts to this type from the input type.
sourceimpl<Inner: Ord> Ord for OsStringDisplay<Inner>where
Inner: AsRef<OsStr> + Debug,
impl<Inner: Ord> Ord for OsStringDisplay<Inner>where
Inner: AsRef<OsStr> + Debug,
sourcefn cmp(&self, other: &OsStringDisplay<Inner>) -> Ordering
fn cmp(&self, other: &OsStringDisplay<Inner>) -> Ordering
1.21.0 · sourcefn max(self, other: Self) -> Self
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Self
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl<Inner: PartialEq> PartialEq<OsStringDisplay<Inner>> for OsStringDisplay<Inner>where
Inner: AsRef<OsStr> + Debug,
impl<Inner: PartialEq> PartialEq<OsStringDisplay<Inner>> for OsStringDisplay<Inner>where
Inner: AsRef<OsStr> + Debug,
sourcefn eq(&self, other: &OsStringDisplay<Inner>) -> bool
fn eq(&self, other: &OsStringDisplay<Inner>) -> bool
sourceimpl<Inner: PartialOrd> PartialOrd<OsStringDisplay<Inner>> for OsStringDisplay<Inner>where
Inner: AsRef<OsStr> + Debug,
impl<Inner: PartialOrd> PartialOrd<OsStringDisplay<Inner>> for OsStringDisplay<Inner>where
Inner: AsRef<OsStr> + Debug,
sourcefn partial_cmp(&self, other: &OsStringDisplay<Inner>) -> Option<Ordering>
fn partial_cmp(&self, other: &OsStringDisplay<Inner>) -> Option<Ordering>
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moresourceimpl<Inner> Serialize for OsStringDisplay<Inner>where
Inner: AsRef<OsStr> + Debug,
Inner: Serialize,
impl<Inner> Serialize for OsStringDisplay<Inner>where
Inner: AsRef<OsStr> + Debug,
Inner: Serialize,
impl<Inner: Copy> Copy for OsStringDisplay<Inner>where
Inner: AsRef<OsStr> + Debug,
impl<Inner: Eq> Eq for OsStringDisplay<Inner>where
Inner: AsRef<OsStr> + Debug,
impl<Inner> StructuralEq for OsStringDisplay<Inner>where
Inner: AsRef<OsStr> + Debug,
impl<Inner> StructuralPartialEq for OsStringDisplay<Inner>where
Inner: AsRef<OsStr> + Debug,
Auto Trait Implementations
impl<Inner> RefUnwindSafe for OsStringDisplay<Inner>where
Inner: RefUnwindSafe,
impl<Inner> Send for OsStringDisplay<Inner>where
Inner: Send,
impl<Inner> Sync for OsStringDisplay<Inner>where
Inner: Sync,
impl<Inner> Unpin for OsStringDisplay<Inner>where
Inner: Unpin,
impl<Inner> UnwindSafe for OsStringDisplay<Inner>where
Inner: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<X> Pipe for X
impl<X> Pipe for X
sourcefn pipe_ref<'a, Return, Function>(&'a self, f: Function) -> Returnwhere
Function: FnOnce(&'a Self) -> Return,
fn pipe_ref<'a, Return, Function>(&'a self, f: Function) -> Returnwhere
Function: FnOnce(&'a Self) -> Return,
sourcefn pipe_mut<'a, Return, Function>(&'a mut self, f: Function) -> Returnwhere
Function: FnOnce(&'a mut Self) -> Return,
fn pipe_mut<'a, Return, Function>(&'a mut self, f: Function) -> Returnwhere
Function: FnOnce(&'a mut Self) -> Return,
sourcefn pipe_as_ref<'a, Param, Return, Function>(&'a self, f: Function) -> Returnwhere
Self: AsRef<Param>,
Param: 'a + ?Sized,
Function: FnOnce(&'a Param) -> Return,
fn pipe_as_ref<'a, Param, Return, Function>(&'a self, f: Function) -> Returnwhere
Self: AsRef<Param>,
Param: 'a + ?Sized,
Function: FnOnce(&'a Param) -> Return,
Apply
f to &self where f takes a single parameter of type Param
and Self implements trait AsRef<Param>. Read moresourcefn pipe_as_mut<'a, Param, Return, Function>(&'a mut self, f: Function) -> Returnwhere
Self: AsMut<Param>,
Param: 'a + ?Sized,
Function: FnOnce(&'a mut Param) -> Return,
fn pipe_as_mut<'a, Param, Return, Function>(&'a mut self, f: Function) -> Returnwhere
Self: AsMut<Param>,
Param: 'a + ?Sized,
Function: FnOnce(&'a mut Param) -> Return,
Apply
f to &mut self where f takes a single parameter of type Param
and Self implements trait AsMut<Param>. Read moresourcefn pipe_deref<'a, Param, Return, Function>(&'a self, f: Function) -> Returnwhere
Self: Deref<Target = Param>,
Param: 'a + ?Sized,
Function: FnOnce(&'a Param) -> Return,
fn pipe_deref<'a, Param, Return, Function>(&'a self, f: Function) -> Returnwhere
Self: Deref<Target = Param>,
Param: 'a + ?Sized,
Function: FnOnce(&'a Param) -> Return,
Apply
f to &self where f takes a single parameter of type Param
and Self implements trait Deref<Target = Param>. Read moresourcefn pipe_deref_mut<'a, Param, Return, Function>(
&'a mut self,
f: Function
) -> Returnwhere
Self: DerefMut<Target = Param>,
Param: 'a + ?Sized,
Function: FnOnce(&'a mut Param) -> Return,
fn pipe_deref_mut<'a, Param, Return, Function>(
&'a mut self,
f: Function
) -> Returnwhere
Self: DerefMut<Target = Param>,
Param: 'a + ?Sized,
Function: FnOnce(&'a mut Param) -> Return,
Apply
f to &mut self where f takes a single parameter of type Param
and Self implements trait [DerefMut<Target = Param>]. Read moresourcefn pipe_borrow<'a, Param, Return, Function>(&'a self, f: Function) -> Returnwhere
Self: Borrow<Param>,
Param: 'a + ?Sized,
Function: FnOnce(&'a Param) -> Return,
fn pipe_borrow<'a, Param, Return, Function>(&'a self, f: Function) -> Returnwhere
Self: Borrow<Param>,
Param: 'a + ?Sized,
Function: FnOnce(&'a Param) -> Return,
Apply
f to &self where f takes a single parameter of type Param
and Self implements trait Borrow<Param>. Read moresourcefn pipe_borrow_mut<'a, Param, Return, Function>(
&'a mut self,
f: Function
) -> Returnwhere
Self: BorrowMut<Param>,
Param: 'a + ?Sized,
Function: FnOnce(&'a mut Param) -> Return,
fn pipe_borrow_mut<'a, Param, Return, Function>(
&'a mut self,
f: Function
) -> Returnwhere
Self: BorrowMut<Param>,
Param: 'a + ?Sized,
Function: FnOnce(&'a mut Param) -> Return,
Apply
f to &mut self where f takes a single parameter of type Param
and Self implements trait BorrowMut<Param>. Read more