pub struct SimpleSeq<'i, W: Write> {
writer: W,
target: QuoteTarget,
level: QuoteLevel,
indent: Indent<'i>,
is_empty: bool,
}
Expand description
Serializer for a sequence of atomic values delimited by space
Fields§
§writer: W
§target: QuoteTarget
§level: QuoteLevel
§indent: Indent<'i>
Indent that should be written before the content if content is not an empty string
is_empty: bool
If true
, nothing was written yet to the writer
Trait Implementations§
Source§impl<'i, W: Write> SerializeSeq for SimpleSeq<'i, W>
impl<'i, W: Write> SerializeSeq for SimpleSeq<'i, W>
Source§impl<'i, W: Write> SerializeTuple for SimpleSeq<'i, W>
impl<'i, W: Write> SerializeTuple for SimpleSeq<'i, W>
Source§impl<'i, W: Write> SerializeTupleStruct for SimpleSeq<'i, W>
impl<'i, W: Write> SerializeTupleStruct for SimpleSeq<'i, W>
Auto Trait Implementations§
impl<'i, W> Freeze for SimpleSeq<'i, W>where
W: Freeze,
impl<'i, W> RefUnwindSafe for SimpleSeq<'i, W>where
W: RefUnwindSafe,
impl<'i, W> Send for SimpleSeq<'i, W>where
W: Send,
impl<'i, W> Sync for SimpleSeq<'i, W>where
W: Sync,
impl<'i, W> Unpin for SimpleSeq<'i, W>where
W: Unpin,
impl<'i, W> !UnwindSafe for SimpleSeq<'i, W>
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