Movatterモバイル変換


[0]ホーム

URL:


Docs.rs

Structwyz::fmt::FmtList

source ·
#[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: T

Trait Implementations

source

impl<T>AsMut<T> forFmtList<T>where
    for<'a>&'aT:IntoIterator,

source

fnas_mut(&mut self) ->&mutT

Converts this type into a mutable reference of the (usually inferred) input type.
source

impl<T>AsRef<T> forFmtList<T>where
    for<'a>&'aT:IntoIterator,

source

fnas_ref(&self) ->&T

Converts this type into a shared reference of the (usually inferred) input type.
source

impl<T>Binary forFmtList<T>where
    for<'a>&'aT:IntoIterator,
    for<'a> <&'aT asIntoIterator>::Item:Binary,

source

fnfmt(&self, fmt: &mutFormatter<'_>) ->Result

Formats the value using the given formatter.
source

impl<T>Debug forFmtList<T>where
    for<'a>&'aT:IntoIterator,
    for<'a> <&'aT asIntoIterator>::Item:Debug,

source

fnfmt(&self, fmt: &mutFormatter<'_>) ->Result

Formats the value using the given formatter.Read more
source

impl<T>Deref forFmtList<T>where
    for<'a>&'aT:IntoIterator,

typeTarget = T

The resulting type after dereferencing.
source

fnderef(&self) -> &Self::Target

Dereferences the value.
source

impl<T>DerefMut forFmtList<T>where
    for<'a>&'aT:IntoIterator,

source

fnderef_mut(&mut self) -> &mut Self::Target

Mutably dereferences the value.
source

impl<T>Display forFmtList<T>where
    for<'a>&'aT:IntoIterator,
    for<'a> <&'aT asIntoIterator>::Item:Display,

source

fnfmt(&self, fmt: &mutFormatter<'_>) ->Result

Formats the value using the given formatter.Read more
source

impl<T>LowerExp forFmtList<T>where
    for<'a>&'aT:IntoIterator,
    for<'a> <&'aT asIntoIterator>::Item:LowerExp,

source

fnfmt(&self, fmt: &mutFormatter<'_>) ->Result

Formats the value using the given formatter.
source

impl<T>LowerHex forFmtList<T>where
    for<'a>&'aT:IntoIterator,
    for<'a> <&'aT asIntoIterator>::Item:LowerHex,

source

fnfmt(&self, fmt: &mutFormatter<'_>) ->Result

Formats the value using the given formatter.
source

impl<T>Octal forFmtList<T>where
    for<'a>&'aT:IntoIterator,
    for<'a> <&'aT asIntoIterator>::Item:Octal,

source

fnfmt(&self, fmt: &mutFormatter<'_>) ->Result

Formats the value using the given formatter.
source

impl<T>UpperExp forFmtList<T>where
    for<'a>&'aT:IntoIterator,
    for<'a> <&'aT asIntoIterator>::Item:UpperExp,

source

fnfmt(&self, fmt: &mutFormatter<'_>) ->Result

Formats the value using the given formatter.
source

impl<T>UpperHex forFmtList<T>where
    for<'a>&'aT:IntoIterator,
    for<'a> <&'aT asIntoIterator>::Item:UpperHex,

source

fnfmt(&self, fmt: &mutFormatter<'_>) ->Result

Formats the value using the given formatter.

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

source

impl<T>Any for Twhere
    T: 'static + ?Sized,

source

fntype_id(&self) ->TypeId

Gets theTypeId ofself.Read more
source

impl<T>Borrow<T> for Twhere
    T: ?Sized,

const:unstable ·source

fnborrow(&self) ->&T

Immutably borrows from an owned value.Read more
source

impl<T>BorrowMut<T> for Twhere
    T: ?Sized,

const:unstable ·source

fnborrow_mut(&mut self) ->&mutT

Mutably borrows from an owned value.Read more
source

impl<T>Conv for T

source

fnconv<T>(self) -> Twhere
    Self:Into<T>,

Convertsself intoT usingInto<T>.Read more
source

impl<T>FmtForward for T

source

fnfmt_binary(self) ->FmtBinary<Self>where
    Self:Binary,

Causesself to use itsBinary implementation whenDebug-formatted.
source

fnfmt_display(self) ->FmtDisplay<Self>where
    Self:Display,

Causesself to use itsDisplay implementation whenDebug-formatted.Read more
source

fnfmt_lower_exp(self) ->FmtLowerExp<Self>where
    Self:LowerExp,

Causesself to use itsLowerExp implementation whenDebug-formatted.Read more
source

fnfmt_lower_hex(self) ->FmtLowerHex<Self>where
    Self:LowerHex,

Causesself to use itsLowerHex implementation whenDebug-formatted.Read more
source

fnfmt_octal(self) ->FmtOctal<Self>where
    Self:Octal,

Causesself to use itsOctal implementation whenDebug-formatted.
source

fnfmt_pointer(self) ->FmtPointer<Self>where
    Self:Pointer,

Causesself to use itsPointer implementation whenDebug-formatted.Read more
source

fnfmt_upper_exp(self) ->FmtUpperExp<Self>where
    Self:UpperExp,

Causesself to use itsUpperExp implementation whenDebug-formatted.Read more
source

fnfmt_upper_hex(self) ->FmtUpperHex<Self>where
    Self:UpperHex,

Causesself to use itsUpperHex implementation whenDebug-formatted.Read more
source

fnfmt_list(self) ->FmtList<Self>where
    for<'a>&'aSelf:IntoIterator,

Formats each item in a sequence.Read more
source

impl<T>From<T> for T

const:unstable ·source

fnfrom(t: T) -> T

Returns the argument unchanged.

source

impl<T, U>Into<U> for Twhere
    U:From<T>,

const:unstable ·source

fninto(self) -> U

CallsU::from(self).

That is, this conversion is whatever the implementation ofFrom<T> for U chooses to do.

source

impl<T>Pipe for Twhere
    T: ?Sized,

source

fnpipe<R>(self, func: implFnOnce(Self) -> R) -> Rwhere
    Self:Sized,

Pipes by value. This is generally the method you want to use.Read more
source

fnpipe_ref<'a, R>(&'a self, func: implFnOnce(&'aSelf) -> R) -> Rwhere
    R: 'a,

Borrowsself and passes that borrow into the pipe function.Read more
source

fnpipe_ref_mut<'a, R>(&'a mut self, func: implFnOnce(&'a mutSelf) -> R) -> Rwhere
    R: 'a,

Mutably borrowsself and passes that borrow into the pipe function.Read more
source

fnpipe_borrow<'a, B, R>(&'a self, func: implFnOnce(&'aB) -> R) -> Rwhere
    Self:Borrow<B>,
    B: 'a + ?Sized,
    R: 'a,

Borrowsself, then passesself.borrow() into the pipe function.Read more
source

fnpipe_borrow_mut<'a, B, R>(
    &'a mut self,
    func: implFnOnce(&'a mutB) -> R
) -> Rwhere
    Self:BorrowMut<B>,
    B: 'a + ?Sized,
    R: 'a,

Mutably borrowsself, then passesself.borrow_mut() into the pipefunction.Read more
source

fnpipe_as_ref<'a, U, R>(&'a self, func: implFnOnce(&'aU) -> R) -> Rwhere
    Self:AsRef<U>,
    U: 'a + ?Sized,
    R: 'a,

Borrowsself, then passesself.as_ref() into the pipe function.
source

fnpipe_as_mut<'a, U, R>(&'a mut self, func: implFnOnce(&'a mutU) -> R) -> Rwhere
    Self:AsMut<U>,
    U: 'a + ?Sized,
    R: 'a,

Mutably borrowsself, then passesself.as_mut() into the pipefunction.Read more
source

fnpipe_deref<'a, T, R>(&'a self, func: implFnOnce(&'aT) -> R) -> Rwhere
    Self:Deref<Target = T>,
    T: 'a + ?Sized,
    R: 'a,

Borrowsself, then passesself.deref() into the pipe function.
source

fnpipe_deref_mut<'a, T, R>(&'a mut self, func: implFnOnce(&'a mutT) -> R) -> Rwhere
    Self:DerefMut<Target = T> +Deref,
    T: 'a + ?Sized,
    R: 'a,

Mutably borrowsself, then passesself.deref_mut() into the pipefunction.Read more
source

impl<T>Tap for T

source

fntap(self, func: implFnOnce(&Self)) -> Self

Immutable access to a value.Read more
source

fntap_mut(self, func: implFnOnce(&mutSelf)) -> Self

Mutable access to a value.Read more
source

fntap_borrow<B>(self, func: implFnOnce(&B)) -> Selfwhere
    Self:Borrow<B>,
    B: ?Sized,

Immutable access to theBorrow<B> of a value.Read more
source

fntap_borrow_mut<B>(self, func: implFnOnce(&mutB)) -> Selfwhere
    Self:BorrowMut<B>,
    B: ?Sized,

Mutable access to theBorrowMut<B> of a value.Read more
source

fntap_ref<R>(self, func: implFnOnce(&R)) -> Selfwhere
    Self:AsRef<R>,
    R: ?Sized,

Immutable access to theAsRef<R> view of a value.Read more
source

fntap_ref_mut<R>(self, func: implFnOnce(&mutR)) -> Selfwhere
    Self:AsMut<R>,
    R: ?Sized,

Mutable access to theAsMut<R> view of a value.Read more
source

fntap_deref<T>(self, func: implFnOnce(&T)) -> Selfwhere
    Self:Deref<Target = T>,
    T: ?Sized,

Immutable access to theDeref::Target of a value.Read more
source

fntap_deref_mut<T>(self, func: implFnOnce(&mutT)) -> Selfwhere
    Self:DerefMut<Target = T> +Deref,
    T: ?Sized,

Mutable access to theDeref::Target of a value.Read more
source

fntap_dbg(self, func: implFnOnce(&Self)) -> Self

Calls.tap() only in debug builds, and is erased in release builds.
source

fntap_mut_dbg(self, func: implFnOnce(&mutSelf)) -> Self

Calls.tap_mut() only in debug builds, and is erased in releasebuilds.Read more
source

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 more
source

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 more
source

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 more
source

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
source

fntap_deref_dbg<T>(self, func: implFnOnce(&T)) -> Selfwhere
    Self:Deref<Target = T>,
    T: ?Sized,

Calls.tap_deref() only in debug builds, and is erased in releasebuilds.Read more
source

fntap_deref_mut_dbg<T>(self, func: implFnOnce(&mutT)) -> Selfwhere
    Self:DerefMut<Target = T> +Deref,
    T: ?Sized,

Calls.tap_deref_mut() only in debug builds, and is erased in releasebuilds.Read more
source

impl<T>TryConv for T

source

fntry_conv<T>(self) ->Result<T, Self::Error>where
    Self:TryInto<T>,

Attempts to convertself intoT usingTryInto<T>.Read more
source

impl<T, U>TryFrom<U> for Twhere
    U:Into<T>,

typeError =Infallible

The type returned in the event of a conversion error.
const:unstable ·source

fntry_from(value: U) ->Result<T, <T asTryFrom<U>>::Error>

Performs the conversion.
source

impl<T, U>TryInto<U> for Twhere
    U:TryFrom<T>,

typeError = <U asTryFrom<T>>::Error

The type returned in the event of a conversion error.
const:unstable ·source

fntry_into(self) ->Result<U, <U asTryFrom<T>>::Error>

Performs the conversion.

[8]ページ先頭

©2009-2026 Movatter.jp