#[repr(transparent)]pub struct IterWrapper<I> {
pub inner: I,
}
Expand description
Wrapper for any iterator with items implementing StringT
.
This is an auto-generated wrapper over I
Fields§
§inner: I
Inner value
Implementations§
Source§impl<I> IterWrapper<I>
impl<I> IterWrapper<I>
Sourcepub const fn new(inner: I) -> Self
pub const fn new(inner: I) -> Self
Creates a new instance of IterWrapper
Trait Implementations§
Source§impl<I> AsRef<I> for IterWrapper<I>
impl<I> AsRef<I> for IterWrapper<I>
Source§impl<I> Borrow<I> for IterWrapper<I>
impl<I> Borrow<I> for IterWrapper<I>
Source§impl<I: Debug> Debug for IterWrapper<I>
impl<I: Debug> Debug for IterWrapper<I>
Source§impl<I> Deref for IterWrapper<I>
impl<I> Deref for IterWrapper<I>
Source§impl<I> DerefMut for IterWrapper<I>
impl<I> DerefMut for IterWrapper<I>
Source§impl<I> From<I> for IterWrapper<I>
impl<I> From<I> for IterWrapper<I>
Source§impl<I> StringExtT for IterWrapper<I>
impl<I> StringExtT for IterWrapper<I>
Source§fn with_prefix<P: StringExtT + Copy>(self, prefix: P) -> impl StringExtT
fn with_prefix<P: StringExtT + Copy>(self, prefix: P) -> impl StringExtT
With prefix.
Source§fn with_suffix<S: StringExtT + Copy>(self, suffix: S) -> impl StringExtT
fn with_suffix<S: StringExtT + Copy>(self, suffix: S) -> impl StringExtT
With suffix.
Source§fn to_string_ext(self) -> String
fn to_string_ext(self) -> String
Encode the value to the string.
Source§impl<I> StringT for IterWrapper<I>
impl<I> StringT for IterWrapper<I>
Source§fn encode_to_buf(self, string: &mut Vec<u8>)
fn encode_to_buf(self, string: &mut Vec<u8>)
Push the value to the string (the underlying
Vec<u8>
).Source§fn encode_to_buf_with_separator(self, string: &mut Vec<u8>, separator: &str)
fn encode_to_buf_with_separator(self, string: &mut Vec<u8>, separator: &str)
Push the value to the string (the underlying
Vec<u8>
) with a
separator. Read moreSource§fn encode_to_bytes_buf(self, string: &mut BytesMut)
fn encode_to_bytes_buf(self, string: &mut BytesMut)
Push the value to the string (the underlying
bytes::BytesMut
).Auto Trait Implementations§
impl<I> Freeze for IterWrapper<I>where
I: Freeze,
impl<I> RefUnwindSafe for IterWrapper<I>where
I: RefUnwindSafe,
impl<I> Send for IterWrapper<I>where
I: Send,
impl<I> Sync for IterWrapper<I>where
I: Sync,
impl<I> Unpin for IterWrapper<I>where
I: Unpin,
impl<I> UnwindSafe for IterWrapper<I>where
I: UnwindSafe,
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