#[repr(transparent)]pub struct FmtList<T>(pub T)
where
for<'a>&'aT:IntoIterator;Expand description
Renders each element of a stream into a list.
Tuple Fields
0: TTrait Implementations
sourceimpl<T>AsMut<T> forFmtList<T>where
for<'a>&'aT:IntoIterator,
impl<T>AsMut<T> forFmtList<T>where
for<'a>&'aT:IntoIterator,
sourceimpl<T>AsRef<T> forFmtList<T>where
for<'a>&'aT:IntoIterator,
impl<T>AsRef<T> forFmtList<T>where
for<'a>&'aT:IntoIterator,
sourceimpl<T>Binary forFmtList<T>where
for<'a>&'aT:IntoIterator,
for<'a> <&'aT asIntoIterator>::Item:Binary,
impl<T>Binary forFmtList<T>where
for<'a>&'aT:IntoIterator,
for<'a> <&'aT asIntoIterator>::Item:Binary,
sourceimpl<T>Debug forFmtList<T>where
for<'a>&'aT:IntoIterator,
for<'a> <&'aT asIntoIterator>::Item:Debug,
impl<T>Debug forFmtList<T>where
for<'a>&'aT:IntoIterator,
for<'a> <&'aT asIntoIterator>::Item:Debug,
sourceimpl<T>Deref forFmtList<T>where
for<'a>&'aT:IntoIterator,
impl<T>Deref forFmtList<T>where
for<'a>&'aT:IntoIterator,
sourceimpl<T>DerefMut forFmtList<T>where
for<'a>&'aT:IntoIterator,
impl<T>DerefMut forFmtList<T>where
for<'a>&'aT:IntoIterator,
sourceimpl<T>Display forFmtList<T>where
for<'a>&'aT:IntoIterator,
for<'a> <&'aT asIntoIterator>::Item:Display,
impl<T>Display forFmtList<T>where
for<'a>&'aT:IntoIterator,
for<'a> <&'aT asIntoIterator>::Item:Display,
sourceimpl<T>LowerExp forFmtList<T>where
for<'a>&'aT:IntoIterator,
for<'a> <&'aT asIntoIterator>::Item:LowerExp,
impl<T>LowerExp forFmtList<T>where
for<'a>&'aT:IntoIterator,
for<'a> <&'aT asIntoIterator>::Item:LowerExp,
sourceimpl<T>LowerHex forFmtList<T>where
for<'a>&'aT:IntoIterator,
for<'a> <&'aT asIntoIterator>::Item:LowerHex,
impl<T>LowerHex forFmtList<T>where
for<'a>&'aT:IntoIterator,
for<'a> <&'aT asIntoIterator>::Item:LowerHex,
sourceimpl<T>Octal forFmtList<T>where
for<'a>&'aT:IntoIterator,
for<'a> <&'aT asIntoIterator>::Item:Octal,
impl<T>Octal forFmtList<T>where
for<'a>&'aT:IntoIterator,
for<'a> <&'aT asIntoIterator>::Item:Octal,
sourceimpl<T>UpperExp forFmtList<T>where
for<'a>&'aT:IntoIterator,
for<'a> <&'aT asIntoIterator>::Item:UpperExp,
impl<T>UpperExp forFmtList<T>where
for<'a>&'aT:IntoIterator,
for<'a> <&'aT asIntoIterator>::Item:UpperExp,
Auto Trait Implementations
impl<T>RefUnwindSafe forFmtList<T>where
T:RefUnwindSafe,
impl<T>Send forFmtList<T>where
T:Send,
impl<T>Sync forFmtList<T>where
T:Sync,
impl<T>Unpin forFmtList<T>where
T:Unpin,
impl<T>UnwindSafe forFmtList<T>where
T:UnwindSafe,
Blanket Implementations
sourceimpl<T>BorrowMut<T> for Twhere
T: ?Sized,
impl<T>BorrowMut<T> for Twhere
T: ?Sized,
const:unstable ·sourcefnborrow_mut(&mut self) ->&mutT
fnborrow_mut(&mut self) ->&mutT
Mutably borrows from an owned value.Read more
sourceimpl<T>FmtForward for T
impl<T>FmtForward for T
sourcefnfmt_binary(self) ->FmtBinary<Self>where
Self:Binary,
fnfmt_binary(self) ->FmtBinary<Self>where
Self:Binary,
Causes
self to use itsBinary implementation whenDebug-formatted.sourcefnfmt_display(self) ->FmtDisplay<Self>where
Self:Display,
fnfmt_display(self) ->FmtDisplay<Self>where
Self:Display,
sourcefnfmt_lower_exp(self) ->FmtLowerExp<Self>where
Self:LowerExp,
fnfmt_lower_exp(self) ->FmtLowerExp<Self>where
Self:LowerExp,
sourcefnfmt_lower_hex(self) ->FmtLowerHex<Self>where
Self:LowerHex,
fnfmt_lower_hex(self) ->FmtLowerHex<Self>where
Self:LowerHex,
sourcefnfmt_octal(self) ->FmtOctal<Self>where
Self:Octal,
fnfmt_octal(self) ->FmtOctal<Self>where
Self:Octal,
Causes
self to use itsOctal implementation whenDebug-formatted.sourcefnfmt_pointer(self) ->FmtPointer<Self>where
Self:Pointer,
fnfmt_pointer(self) ->FmtPointer<Self>where
Self:Pointer,
sourcefnfmt_upper_exp(self) ->FmtUpperExp<Self>where
Self:UpperExp,
fnfmt_upper_exp(self) ->FmtUpperExp<Self>where
Self:UpperExp,
sourcefnfmt_upper_hex(self) ->FmtUpperHex<Self>where
Self:UpperHex,
fnfmt_upper_hex(self) ->FmtUpperHex<Self>where
Self:UpperHex,
sourceimpl<T>Pipe for Twhere
T: ?Sized,
impl<T>Pipe for Twhere
T: ?Sized,
sourcefnpipe<R>(self, func: implFnOnce(Self) -> R) -> Rwhere
Self:Sized,
fnpipe<R>(self, func: implFnOnce(Self) -> R) -> Rwhere
Self:Sized,
Pipes by value. This is generally the method you want to use.Read more
sourcefnpipe_ref<'a, R>(&'a self, func: implFnOnce(&'aSelf) -> R) -> Rwhere
R: 'a,
fnpipe_ref<'a, R>(&'a self, func: implFnOnce(&'aSelf) -> R) -> Rwhere
R: 'a,
Borrows
self and passes that borrow into the pipe function.Read moresourcefnpipe_ref_mut<'a, R>(&'a mut self, func: implFnOnce(&'a mutSelf) -> R) -> Rwhere
R: 'a,
fnpipe_ref_mut<'a, R>(&'a mut self, func: implFnOnce(&'a mutSelf) -> R) -> Rwhere
R: 'a,
Mutably borrows
self and passes that borrow into the pipe function.Read moresourcefnpipe_borrow<'a, B, R>(&'a self, func: implFnOnce(&'aB) -> R) -> Rwhere
Self:Borrow<B>,
B: 'a + ?Sized,
R: 'a,
fnpipe_borrow<'a, B, R>(&'a self, func: implFnOnce(&'aB) -> R) -> Rwhere
Self:Borrow<B>,
B: 'a + ?Sized,
R: 'a,
sourcefnpipe_borrow_mut<'a, B, R>(
&'a mut self,
func: implFnOnce(&'a mutB) -> R
) -> Rwhere
Self:BorrowMut<B>,
B: 'a + ?Sized,
R: 'a,
fnpipe_borrow_mut<'a, B, R>(
&'a mut self,
func: implFnOnce(&'a mutB) -> R
) -> Rwhere
Self:BorrowMut<B>,
B: 'a + ?Sized,
R: 'a,
sourcefnpipe_as_ref<'a, U, R>(&'a self, func: implFnOnce(&'aU) -> R) -> Rwhere
Self:AsRef<U>,
U: 'a + ?Sized,
R: 'a,
fnpipe_as_ref<'a, U, R>(&'a self, func: implFnOnce(&'aU) -> R) -> Rwhere
Self:AsRef<U>,
U: 'a + ?Sized,
R: 'a,
Borrows
self, then passesself.as_ref() into the pipe function.sourcefnpipe_as_mut<'a, U, R>(&'a mut self, func: implFnOnce(&'a mutU) -> R) -> Rwhere
Self:AsMut<U>,
U: 'a + ?Sized,
R: 'a,
fnpipe_as_mut<'a, U, R>(&'a mut self, func: implFnOnce(&'a mutU) -> R) -> Rwhere
Self:AsMut<U>,
U: 'a + ?Sized,
R: 'a,
sourceimpl<T>Tap for T
impl<T>Tap for T
sourcefntap_borrow<B>(self, func: implFnOnce(&B)) -> Selfwhere
Self:Borrow<B>,
B: ?Sized,
fntap_borrow<B>(self, func: implFnOnce(&B)) -> Selfwhere
Self:Borrow<B>,
B: ?Sized,
Immutable access to the
Borrow<B> of a value.Read moresourcefntap_borrow_mut<B>(self, func: implFnOnce(&mutB)) -> Selfwhere
Self:BorrowMut<B>,
B: ?Sized,
fntap_borrow_mut<B>(self, func: implFnOnce(&mutB)) -> Selfwhere
Self:BorrowMut<B>,
B: ?Sized,
Mutable access to the
BorrowMut<B> of a value.Read moresourcefntap_ref<R>(self, func: implFnOnce(&R)) -> Selfwhere
Self:AsRef<R>,
R: ?Sized,
fntap_ref<R>(self, func: implFnOnce(&R)) -> Selfwhere
Self:AsRef<R>,
R: ?Sized,
Immutable access to the
AsRef<R> view of a value.Read moresourcefntap_ref_mut<R>(self, func: implFnOnce(&mutR)) -> Selfwhere
Self:AsMut<R>,
R: ?Sized,
fntap_ref_mut<R>(self, func: implFnOnce(&mutR)) -> Selfwhere
Self:AsMut<R>,
R: ?Sized,
Mutable access to the
AsMut<R> view of a value.Read moresourcefntap_deref<T>(self, func: implFnOnce(&T)) -> Selfwhere
Self:Deref<Target = T>,
T: ?Sized,
fntap_deref<T>(self, func: implFnOnce(&T)) -> Selfwhere
Self:Deref<Target = T>,
T: ?Sized,
Immutable access to the
Deref::Target of a value.Read moresourcefntap_deref_mut<T>(self, func: implFnOnce(&mutT)) -> Selfwhere
Self:DerefMut<Target = T> +Deref,
T: ?Sized,
fntap_deref_mut<T>(self, func: implFnOnce(&mutT)) -> Selfwhere
Self:DerefMut<Target = T> +Deref,
T: ?Sized,
Mutable access to the
Deref::Target of a value.Read moresourcefntap_dbg(self, func: implFnOnce(&Self)) -> Self
fntap_dbg(self, func: implFnOnce(&Self)) -> Self
Calls
.tap() only in debug builds, and is erased in release builds.sourcefntap_mut_dbg(self, func: implFnOnce(&mutSelf)) -> Self
fntap_mut_dbg(self, func: implFnOnce(&mutSelf)) -> Self
Calls
.tap_mut() only in debug builds, and is erased in releasebuilds.Read moresourcefntap_borrow_dbg<B>(self, func: implFnOnce(&B)) -> Selfwhere
Self:Borrow<B>,
B: ?Sized,
fntap_borrow_dbg<B>(self, func: implFnOnce(&B)) -> Selfwhere
Self:Borrow<B>,
B: ?Sized,
Calls
.tap_borrow() only in debug builds, and is erased in releasebuilds.Read moresourcefntap_borrow_mut_dbg<B>(self, func: implFnOnce(&mutB)) -> Selfwhere
Self:BorrowMut<B>,
B: ?Sized,
fntap_borrow_mut_dbg<B>(self, func: implFnOnce(&mutB)) -> Selfwhere
Self:BorrowMut<B>,
B: ?Sized,
Calls
.tap_borrow_mut() only in debug builds, and is erased in releasebuilds.Read moresourcefntap_ref_dbg<R>(self, func: implFnOnce(&R)) -> Selfwhere
Self:AsRef<R>,
R: ?Sized,
fntap_ref_dbg<R>(self, func: implFnOnce(&R)) -> Selfwhere
Self:AsRef<R>,
R: ?Sized,
Calls
.tap_ref() only in debug builds, and is erased in releasebuilds.Read moresourcefntap_ref_mut_dbg<R>(self, func: implFnOnce(&mutR)) -> Selfwhere
Self:AsMut<R>,
R: ?Sized,
fntap_ref_mut_dbg<R>(self, func: implFnOnce(&mutR)) -> Selfwhere
Self:AsMut<R>,
R: ?Sized,
Calls
.tap_ref_mut() only in debug builds, and is erased in releasebuilds.Read more