pub trait IteratorExt:
Iterator
+ Sized
+ Clone{
// Provided methods
fn display_concat(self) -> Concat<Self> { ... }
fn display_join<J>(self, joiner: J) -> Join<Self, J>
where J: Display { ... }
fn display_join_format<J, C>(
self,
joiner: J,
callback: C,
) -> JoinFormat<Self, J, C>
where J: Display,
C: Fn(Self::Item, &mut Formatter<'_>) -> Result { ... }
}
Expand description
Extension trait providing convenient access to the base functions in the crate root.
Provided Methods§
Sourcefn display_concat(self) -> Concat<Self>
fn display_concat(self) -> Concat<Self>
Alias for crate::concat()
Sourcefn display_join<J>(self, joiner: J) -> Join<Self, J>where
J: Display,
fn display_join<J>(self, joiner: J) -> Join<Self, J>where
J: Display,
Alias for crate::join
Sourcefn display_join_format<J, C>(
self,
joiner: J,
callback: C,
) -> JoinFormat<Self, J, C>
fn display_join_format<J, C>( self, joiner: J, callback: C, ) -> JoinFormat<Self, J, C>
Alias for crate::join_format
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.